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

Unified Diff: Source/web/tests/ScrollingCoordinatorTest.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « Source/web/tests/LayoutGeometryMapTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/ScrollingCoordinatorTest.cpp
diff --git a/Source/web/tests/ScrollingCoordinatorTest.cpp b/Source/web/tests/ScrollingCoordinatorTest.cpp
index b297d135eddaffac537ad383d0eb95d5b5d6d741..cf96c3ccace79f0287a2fcd0651bcbc89b679901 100644
--- a/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -165,7 +165,7 @@ TEST_F(ScrollingCoordinatorTest, fastFractionalScrollingDiv)
LayoutObject* renderer = scrollableElement->renderer();
ASSERT_TRUE(renderer->isBox());
- RenderBox* box = toRenderBox(renderer);
+ LayoutBox* box = toLayoutBox(renderer);
ASSERT_TRUE(box->usesCompositedScrolling());
CompositedLayerMapping* compositedLayerMapping = box->layer()->compositedLayerMapping();
ASSERT_TRUE(compositedLayerMapping->hasScrollingLayer());
@@ -357,7 +357,7 @@ TEST_F(ScrollingCoordinatorTest, overflowScrolling)
ASSERT_TRUE(renderer->isBox());
ASSERT_TRUE(renderer->hasLayer());
- RenderBox* box = toRenderBox(renderer);
+ LayoutBox* box = toLayoutBox(renderer);
ASSERT_TRUE(box->usesCompositedScrolling());
ASSERT_EQ(PaintsIntoOwnBacking, box->layer()->compositingState());
@@ -397,7 +397,7 @@ TEST_F(ScrollingCoordinatorTest, overflowHidden)
ASSERT_TRUE(renderer->isBox());
ASSERT_TRUE(renderer->hasLayer());
- RenderBox* box = toRenderBox(renderer);
+ LayoutBox* box = toLayoutBox(renderer);
ASSERT_TRUE(box->usesCompositedScrolling());
ASSERT_EQ(PaintsIntoOwnBacking, box->layer()->compositingState());
@@ -420,7 +420,7 @@ TEST_F(ScrollingCoordinatorTest, overflowHidden)
ASSERT_TRUE(renderer->isBox());
ASSERT_TRUE(renderer->hasLayer());
- box = toRenderBox(renderer);
+ box = toLayoutBox(renderer);
ASSERT_TRUE(box->scrollableArea()->usesCompositedScrolling());
ASSERT_EQ(PaintsIntoOwnBacking, box->layer()->compositingState());
@@ -543,7 +543,7 @@ TEST_F(ScrollingCoordinatorTest, scrollbarsForceMainThreadOrHaveWebScrollbarLaye
LayoutObject* renderer = scrollableElement->renderer();
ASSERT_TRUE(renderer->isBox());
- RenderBox* box = toRenderBox(renderer);
+ LayoutBox* box = toLayoutBox(renderer);
ASSERT_TRUE(box->usesCompositedScrolling());
CompositedLayerMapping* compositedLayerMapping = box->layer()->compositedLayerMapping();
GraphicsLayer* scrollbarGraphicsLayer = compositedLayerMapping->layerForVerticalScrollbar();
« no previous file with comments | « Source/web/tests/LayoutGeometryMapTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698