cc: Send BeginFrame to VideoFrameController when added.
commitc052ba992cee6d00e84ee00d434453700fe89731
authorsunnyps <sunnyps@chromium.org>
Tue, 5 May 2015 00:42:29 +0000 (4 17:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 5 May 2015 00:42:49 +0000 (5 00:42 +0000)
tree25145dce0cdd7c8dff838fd3e5f2d9d36d10df9d
parent76ae6859d6f7a2bf19a440e15a64eb1fe39b4518
cc: Send BeginFrame to VideoFrameController when added.

When a VideoFrameController starts rendering it has to wait until the
next frame to get a BeginFrame message. This means that it renders
nothing for the first frame if it is able to draw in that frame.

Review URL: https://codereview.chromium.org/1113283002

Cr-Commit-Position: refs/heads/master@{#328238}
cc/layers/video_frame_provider_client_impl.cc
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl_unittest.cc