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: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp

Issue 2737883002: Rename LayoutPart::widget to LayoutPart::frameViewBase (Closed)
Patch Set: Rename LayoutPart::widget to LayoutPart::frameViewBase Created 3 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 | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
index 32cae1d7439160baa71b9fb624f553e0612029a7..253107f184de62e77d9bbc9c76626d435cb1cbd0 100644
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -665,10 +665,10 @@ TEST_P(ScrollingCoordinatorTest, iframeScrolling) {
LayoutPart* layoutPart = toLayoutPart(layoutObject);
ASSERT_TRUE(layoutPart);
- ASSERT_TRUE(layoutPart->widget());
- ASSERT_TRUE(layoutPart->widget()->isFrameView());
+ ASSERT_TRUE(layoutPart->frameViewBase());
+ ASSERT_TRUE(layoutPart->frameViewBase()->isFrameView());
- FrameView* innerFrameView = toFrameView(layoutPart->widget());
+ FrameView* innerFrameView = toFrameView(layoutPart->frameViewBase());
LayoutViewItem innerLayoutViewItem = innerFrameView->layoutViewItem();
ASSERT_FALSE(innerLayoutViewItem.isNull());
@@ -716,10 +716,10 @@ TEST_P(ScrollingCoordinatorTest, rtlIframe) {
LayoutPart* layoutPart = toLayoutPart(layoutObject);
ASSERT_TRUE(layoutPart);
- ASSERT_TRUE(layoutPart->widget());
- ASSERT_TRUE(layoutPart->widget()->isFrameView());
+ ASSERT_TRUE(layoutPart->frameViewBase());
+ ASSERT_TRUE(layoutPart->frameViewBase()->isFrameView());
- FrameView* innerFrameView = toFrameView(layoutPart->widget());
+ FrameView* innerFrameView = toFrameView(layoutPart->frameViewBase());
LayoutViewItem innerLayoutViewItem = innerFrameView->layoutViewItem();
ASSERT_FALSE(innerLayoutViewItem.isNull());
@@ -893,10 +893,10 @@ TEST_P(ScrollingCoordinatorTest,
LayoutPart* layoutPart = toLayoutPart(layoutObject);
ASSERT_TRUE(layoutPart);
- ASSERT_TRUE(layoutPart->widget());
- ASSERT_TRUE(layoutPart->widget()->isFrameView());
+ ASSERT_TRUE(layoutPart->frameViewBase());
+ ASSERT_TRUE(layoutPart->frameViewBase()->isFrameView());
- FrameView* innerFrameView = toFrameView(layoutPart->widget());
+ FrameView* innerFrameView = toFrameView(layoutPart->frameViewBase());
LayoutViewItem innerLayoutViewItem = innerFrameView->layoutViewItem();
ASSERT_FALSE(innerLayoutViewItem.isNull());
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698