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

Unified Diff: cc/trees/layer_tree_host_unittest_video.cc

Issue 1033563002: cc: Various code safety improvements in video compositing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: cc/trees/layer_tree_host_unittest_video.cc
diff --git a/cc/trees/layer_tree_host_unittest_video.cc b/cc/trees/layer_tree_host_unittest_video.cc
index ffeda727fe3f30fc38280a8f78b161fcb6918ceb..4952ea7204aee0569840da9930265ef2ce6a7a6a 100644
--- a/cc/trees/layer_tree_host_unittest_video.cc
+++ b/cc/trees/layer_tree_host_unittest_video.cc
@@ -77,7 +77,7 @@ class LayerTreeHostVideoTestSetNeedsDisplay
EXPECT_EQ(media::VIDEO_ROTATION_90, video->video_rotation());
if (num_draws_ == 0)
- video->SetNeedsRedraw();
+ video_frame_provider_.SendDidReceiveFrame();
++num_draws_;
}
« cc/test/fake_video_frame_provider.h ('K') | « cc/test/fake_video_frame_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698