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

Unified Diff: cc/layers/painted_scrollbar_layer_unittest.cc

Issue 2331983002: cc: Make LayerTreeHost a protected Layer member. (Closed)
Patch Set: settings Created 4 years, 3 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/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/painted_scrollbar_layer_unittest.cc
diff --git a/cc/layers/painted_scrollbar_layer_unittest.cc b/cc/layers/painted_scrollbar_layer_unittest.cc
index 0ab34b8f37c681befb3d8c144f8e0a113ae5657b..b43c7379e78537dd7772c3442ccea22d9f8b19df 100644
--- a/cc/layers/painted_scrollbar_layer_unittest.cc
+++ b/cc/layers/painted_scrollbar_layer_unittest.cc
@@ -42,7 +42,8 @@ TEST(PaintedScrollbarLayerTest, NeedsPaint) {
scrollbar_layer->SetBounds(gfx::Size(100, 100));
layer_tree_host_->SetRootLayer(scrollbar_layer);
- EXPECT_EQ(scrollbar_layer->layer_tree_host(), layer_tree_host_.get());
+ EXPECT_EQ(scrollbar_layer->GetLayerTreeHostForTesting(),
+ layer_tree_host_.get());
scrollbar_layer->SavePaintProperties();
// Request no paint, but expect them to be painted because they have not
« no previous file with comments | « cc/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698