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

Unified Diff: cc/layers/delegated_renderer_layer_impl_unittest.cc

Issue 13637017: Delete layout_viewport_size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android 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
« no previous file with comments | « cc/input/pinch_zoom_scrollbar.cc ('k') | cc/layers/texture_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/delegated_renderer_layer_impl_unittest.cc
diff --git a/cc/layers/delegated_renderer_layer_impl_unittest.cc b/cc/layers/delegated_renderer_layer_impl_unittest.cc
index a97d83cddeefdddffc9ecbeb5a6510b528c9c710..222dc437e764ec27101ecb5b2a6b934c675a0881 100644
--- a/cc/layers/delegated_renderer_layer_impl_unittest.cc
+++ b/cc/layers/delegated_renderer_layer_impl_unittest.cc
@@ -43,7 +43,7 @@ class DelegatedRendererLayerImplTest : public testing::Test {
&proxy_,
&stats_instrumentation_);
host_impl_->InitializeRenderer(CreateFakeOutputSurface());
- host_impl_->SetViewportSize(gfx::Size(10, 10), gfx::Size(10, 10));
+ host_impl_->SetViewportSize(gfx::Size(10, 10));
}
protected:
@@ -69,7 +69,7 @@ class DelegatedRendererLayerImplTestSimple
scoped_ptr<FakeDelegatedRendererLayerImpl> delegated_renderer_layer =
FakeDelegatedRendererLayerImpl::Create(host_impl_->active_tree(), 4);
- host_impl_->SetViewportSize(gfx::Size(100, 100), gfx::Size(100, 100));
+ host_impl_->SetViewportSize(gfx::Size(100, 100));
root_layer->SetBounds(gfx::Size(100, 100));
layer_before->SetPosition(gfx::Point(20, 20));
@@ -466,7 +466,7 @@ class DelegatedRendererLayerImplTestTransform
scoped_ptr<FakeDelegatedRendererLayerImpl> delegated_renderer_layer =
FakeDelegatedRendererLayerImpl::Create(host_impl_->active_tree(), 2);
- host_impl_->SetViewportSize(gfx::Size(100, 100), gfx::Size(100, 100));
+ host_impl_->SetViewportSize(gfx::Size(100, 100));
root_layer->SetBounds(gfx::Size(100, 100));
delegated_renderer_layer->SetPosition(gfx::Point(20, 20));
@@ -869,7 +869,7 @@ class DelegatedRendererLayerImplTestClip
scoped_ptr<LayerImpl> origin_layer =
LayerImpl::Create(host_impl_->active_tree(), 4);
- host_impl_->SetViewportSize(gfx::Size(100, 100), gfx::Size(100, 100));
+ host_impl_->SetViewportSize(gfx::Size(100, 100));
root_layer->SetBounds(gfx::Size(100, 100));
delegated_renderer_layer->SetPosition(gfx::Point(20, 20));
« no previous file with comments | « cc/input/pinch_zoom_scrollbar.cc ('k') | cc/layers/texture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698