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

Unified Diff: webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc

Issue 12876006: Revert 189830 "cc: Chromify LayerTreeHostCommon" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1451/src/
Patch Set: 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
===================================================================
--- webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc (revision 190264)
+++ webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc (working copy)
@@ -128,14 +128,14 @@
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 @@
// 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