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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.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
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
index 1bf97ca1675af14e5c502aeffe77fc0e77368037..ce04a7444adc4330d3790214fd68e6b16b69401b 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
@@ -493,10 +493,9 @@ class PaintPropertyTreeGraphBuilder {
for (const LayoutObject* child = object.slowFirstChild(); child;
child = child->nextSibling())
writeLayoutObjectNode(*child);
- if (object.isLayoutPart() && toLayoutPart(object).widget() &&
- toLayoutPart(object).widget()->isFrameView()) {
- FrameView* frameView =
- static_cast<FrameView*>(toLayoutPart(object).widget());
+ if (object.isLayoutPart() && toLayoutPart(object).frameViewBase() &&
+ toLayoutPart(object).frameViewBase()->isFrameView()) {
+ FrameView* frameView = toFrameView(toLayoutPart(object).frameViewBase());
writeFrameViewNode(*frameView, &object);
}
}

Powered by Google App Engine
This is Rietveld 408576698