Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3560)

Unified Diff: cc/layers/video_frame_provider_client_impl.cc

Issue 1113283002: cc: Send BeginFrame to VideoFrameController when added if we're inside a frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_frame_provider_client_impl.cc
diff --git a/cc/layers/video_frame_provider_client_impl.cc b/cc/layers/video_frame_provider_client_impl.cc
index 17bf3e6640c749a7644a4f068ac6efaa743814b7..5fab4e2f04c4d0cc01dc081ccc59a0a86e79880a 100644
--- a/cc/layers/video_frame_provider_client_impl.cc
+++ b/cc/layers/video_frame_provider_client_impl.cc
@@ -118,8 +118,8 @@ void VideoFrameProviderClientImpl::StartRendering() {
TRACE_EVENT0("cc", "VideoFrameProviderClientImpl::StartRendering");
DCHECK(!rendering_);
DCHECK(!stopped_);
- client_->AddVideoFrameController(this);
rendering_ = true;
+ client_->AddVideoFrameController(this);
}
void VideoFrameProviderClientImpl::StopRendering() {
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698