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

Unified Diff: webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc

Issue 12760011: cc: Chromify LayerTreeHostCommon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « cc/trees/occlusion_tracker_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
diff --git a/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc b/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
index 5346a83b08b2494e5d6c197f2781eae35b671b8e..0ef13d49505c5663f455d9a48a4e7eec1f92068c 100644
--- a/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
+++ b/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
@@ -128,14 +128,14 @@ void CompareFixedBoundsLayerAndNormalLayer(
root_layer->addChild(normal_layer);
std::vector<scoped_refptr<cc::Layer> > render_surface_layer_list;
- cc::LayerTreeHostCommon::calculateDrawProperties(
+ cc::LayerTreeHostCommon::CalculateDrawProperties(
root_layer->layer(),
kDeviceViewportSize,
kDeviceScaleFactor,
kPageScaleFactor,
kMaxTextureSize,
false,
- render_surface_layer_list);
+ &render_surface_layer_list);
ExpectEqualLayerRectsInTarget(normal_layer->layer(),
fixed_bounds_layer->layer());
ExpectEqualLayerRectsInTarget(sublayer_under_normal_layer->layer(),
@@ -144,14 +144,14 @@ void CompareFixedBoundsLayerAndNormalLayer(
// Change of fixed bounds should not affect the target geometries.
fixed_bounds_layer->SetFixedBounds(gfx::Size(fixed_bounds.width() / 2,
fixed_bounds.height() * 2));
- cc::LayerTreeHostCommon::calculateDrawProperties(
+ cc::LayerTreeHostCommon::CalculateDrawProperties(
root_layer->layer(),
kDeviceViewportSize,
kDeviceScaleFactor,
kPageScaleFactor,
kMaxTextureSize,
false,
- render_surface_layer_list);
+ &render_surface_layer_list);
ExpectEqualLayerRectsInTarget(normal_layer->layer(),
fixed_bounds_layer->layer());
ExpectEqualLayerRectsInTarget(sublayer_under_normal_layer->layer(),
« no previous file with comments | « cc/trees/occlusion_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698