| 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 4b193f1f288f98ea6b2871118655127c62046442..e0a90dc47caf55c1c29f9d146e91279d9e1b9160 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
|
| @@ -495,11 +495,10 @@ class PaintPropertyTreeGraphBuilder {
|
| for (const LayoutObject* child = object.SlowFirstChild(); child;
|
| child = child->NextSibling())
|
| WriteLayoutObjectNode(*child);
|
| - if (object.IsLayoutPart() && ToLayoutPart(object).GetFrameViewBase() &&
|
| - ToLayoutPart(object).GetFrameViewBase()->IsFrameView()) {
|
| - FrameView* frame_view =
|
| - ToFrameView(ToLayoutPart(object).GetFrameViewBase());
|
| - WriteFrameViewNode(*frame_view, &object);
|
| + if (object.IsLayoutPart()) {
|
| + FrameView* frame_view = ToLayoutPart(object).ChildFrameView();
|
| + if (frame_view)
|
| + WriteFrameViewNode(*frame_view, &object);
|
| }
|
| }
|
|
|
|
|