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

Unified Diff: cc/trees/layer_tree_host_unittest_delegated.cc

Issue 13637017: Delete layout_viewport_size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 7 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
Index: cc/trees/layer_tree_host_unittest_delegated.cc
diff --git a/cc/trees/layer_tree_host_unittest_delegated.cc b/cc/trees/layer_tree_host_unittest_delegated.cc
index 380113a804a4293320cd2c520aaa45aff2826470..6473218df5a329cf7bf573ddbc4a992969905549 100644
--- a/cc/trees/layer_tree_host_unittest_delegated.cc
+++ b/cc/trees/layer_tree_host_unittest_delegated.cc
@@ -1034,7 +1034,7 @@ class LayerTreeHostDelegatedTestResourceSentToParent
public:
virtual void BeginTest() OVERRIDE {
// Prevent drawing with resources that are sent to the grandparent.
- layer_tree_host()->SetViewportSize(gfx::Size(10, 10), gfx::Size());
+ layer_tree_host()->SetViewportSize(gfx::Size());
PostSetNeedsCommitToMainThread();
}
@@ -1149,7 +1149,7 @@ class LayerTreeHostDelegatedTestCommitWithoutTake
public:
virtual void BeginTest() OVERRIDE {
// Prevent drawing with resources that are sent to the grandparent.
- layer_tree_host()->SetViewportSize(gfx::Size(10, 10), gfx::Size());
+ layer_tree_host()->SetViewportSize(gfx::Size());
PostSetNeedsCommitToMainThread();
}

Powered by Google App Engine
This is Rietveld 408576698