| Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| index 53ebcc64224eea42f9f30b9f3b5b941acca85d57..aa17e9b4e655fb2ee0e15a8afb322410c96ab9d2 100644
|
| --- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| @@ -291,16 +291,16 @@ void PrePaintTreeWalk::Walk(const LayoutObject& object,
|
|
|
| if (object.IsLayoutPart()) {
|
| const LayoutPart& layout_part = ToLayoutPart(object);
|
| - FrameViewBase* frame_view_base = layout_part.GetFrameViewBase();
|
| - if (frame_view_base && frame_view_base->IsFrameView()) {
|
| + FrameView* frame_view = layout_part.ChildFrameView();
|
| + if (frame_view) {
|
| if (context.tree_builder_context) {
|
| context.tree_builder_context->current.paint_offset +=
|
| layout_part.ReplacedContentRect().Location() -
|
| - frame_view_base->FrameRect().Location();
|
| + frame_view->FrameRect().Location();
|
| context.tree_builder_context->current.paint_offset =
|
| RoundedIntPoint(context.tree_builder_context->current.paint_offset);
|
| }
|
| - Walk(*ToFrameView(frame_view_base), context);
|
| + Walk(*frame_view, context);
|
| }
|
| // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281).
|
| }
|
|
|