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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.cpp

Issue 2737883002: Rename LayoutPart::widget to LayoutPart::frameViewBase (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 8f14f4fca9039121ba87522f9996bdd9cd1e0582..a49f0741e651266d75aab54049c6628a23fcf483 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -805,7 +805,7 @@ static bool isFrameElement(const Node* n) {
LayoutObject* layoutObject = n->layoutObject();
if (!layoutObject || !layoutObject->isLayoutPart())
return false;
- FrameViewBase* frameViewBase = toLayoutPart(layoutObject)->widget();
+ FrameViewBase* frameViewBase = toLayoutPart(layoutObject)->frameViewBase();
return frameViewBase && frameViewBase->isFrameView();
}

Powered by Google App Engine
This is Rietveld 408576698