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

Unified Diff: cc/layers/contents_scaling_layer_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/debug/debug_rect_history.cc ('k') | cc/layers/layer_iterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/contents_scaling_layer_unittest.cc
diff --git a/cc/layers/contents_scaling_layer_unittest.cc b/cc/layers/contents_scaling_layer_unittest.cc
index 69710d8f9a3eb76a4e1edb9a3a2d7f552bbbbca0..ec188f09c20de30e9e1954139034b9485fa66d90 100644
--- a/cc/layers/contents_scaling_layer_unittest.cc
+++ b/cc/layers/contents_scaling_layer_unittest.cc
@@ -46,14 +46,14 @@ class MockContentsScalingLayer : public ContentsScalingLayer {
void CalcDrawProps(Layer* root, float device_scale) {
std::vector<scoped_refptr<Layer> > render_surface_layer_list;
- LayerTreeHostCommon::calculateDrawProperties(
+ LayerTreeHostCommon::CalculateDrawProperties(
root,
gfx::Size(500, 500),
device_scale,
1.f,
1024,
false,
- render_surface_layer_list);
+ &render_surface_layer_list);
}
TEST(ContentsScalingLayerTest, CheckContentsBounds) {
« no previous file with comments | « cc/debug/debug_rect_history.cc ('k') | cc/layers/layer_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698