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

Unified Diff: cc/test/fake_layer_tree_host_impl.h

Issue 12662021: cc: Don't draw and swap if the frame will not change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add perf test Created 7 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/test/fake_layer_tree_host_impl.h
diff --git a/cc/test/fake_layer_tree_host_impl.h b/cc/test/fake_layer_tree_host_impl.h
index 8ed07e88f4fa16d31024631ba093e6cfffa9838d..6296de2e8df53b14833a93c142ac6da4034856e7 100644
--- a/cc/test/fake_layer_tree_host_impl.h
+++ b/cc/test/fake_layer_tree_host_impl.h
@@ -20,7 +20,7 @@ class FakeLayerTreeHostImpl : public LayerTreeHostImpl {
void ForcePrepareToDraw() {
LayerTreeHostImpl::FrameData frame_data;
- PrepareToDraw(&frame_data);
+ PrepareToDraw(&frame_data, gfx::Rect());
DidDrawAllLayers(frame_data);
}

Powered by Google App Engine
This is Rietveld 408576698