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

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

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/WebViewImpl.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 8c2937df9b6ab235759413544b1239dc62f1c5db..2d62f0e25fa8ef6265d2735fbfc4f378520c9926 100644
--- a/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -26,10 +26,10 @@
#include "core/page/scrolling/ScrollingCoordinator.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/compositing/CompositedLayerMapping.h"
#include "core/layout/compositing/LayerCompositor.h"
#include "core/page/Page.h"
-#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderView.h"
#include "core/testing/URLTestHelpers.h"
#include "platform/graphics/GraphicsLayer.h"
@@ -451,14 +451,14 @@ TEST_F(ScrollingCoordinatorTest, iframeScrolling)
LayoutObject* renderer = scrollableFrame->renderer();
ASSERT_TRUE(renderer);
- ASSERT_TRUE(renderer->isRenderPart());
+ ASSERT_TRUE(renderer->isLayoutPart());
- RenderPart* renderPart = toRenderPart(renderer);
- ASSERT_TRUE(renderPart);
- ASSERT_TRUE(renderPart->widget());
- ASSERT_TRUE(renderPart->widget()->isFrameView());
+ LayoutPart* layoutPart = toLayoutPart(renderer);
+ ASSERT_TRUE(layoutPart);
+ ASSERT_TRUE(layoutPart->widget());
+ ASSERT_TRUE(layoutPart->widget()->isFrameView());
- FrameView* innerFrameView = toFrameView(renderPart->widget());
+ FrameView* innerFrameView = toFrameView(layoutPart->widget());
RenderView* innerRenderView = innerFrameView->renderView();
ASSERT_TRUE(innerRenderView);
@@ -495,14 +495,14 @@ TEST_F(ScrollingCoordinatorTest, rtlIframe)
LayoutObject* renderer = scrollableFrame->renderer();
ASSERT_TRUE(renderer);
- ASSERT_TRUE(renderer->isRenderPart());
+ ASSERT_TRUE(renderer->isLayoutPart());
- RenderPart* renderPart = toRenderPart(renderer);
- ASSERT_TRUE(renderPart);
- ASSERT_TRUE(renderPart->widget());
- ASSERT_TRUE(renderPart->widget()->isFrameView());
+ LayoutPart* layoutPart = toLayoutPart(renderer);
+ ASSERT_TRUE(layoutPart);
+ ASSERT_TRUE(layoutPart->widget());
+ ASSERT_TRUE(layoutPart->widget()->isFrameView());
- FrameView* innerFrameView = toFrameView(renderPart->widget());
+ FrameView* innerFrameView = toFrameView(layoutPart->widget());
RenderView* innerRenderView = innerFrameView->renderView();
ASSERT_TRUE(innerRenderView);
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698