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 ebef0f7451670826a1049b21736d4576762a162b..8a9a8d3d77cce32ca7b369f402cc639aec8e3087 100644 |
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
@@ -250,14 +250,14 @@ void PrePaintTreeWalk::walk(const LayoutObject& object, |
if (object.isLayoutPart()) { |
const LayoutPart& layoutPart = toLayoutPart(object); |
- Widget* widget = layoutPart.widget(); |
- if (widget && widget->isFrameView()) { |
+ FrameViewBase* frameViewBase = layoutPart.widget(); |
+ if (frameViewBase && frameViewBase->isFrameView()) { |
context.treeBuilderContext.current.paintOffset += |
layoutPart.replacedContentRect().location() - |
- widget->frameRect().location(); |
+ frameViewBase->frameRect().location(); |
context.treeBuilderContext.current.paintOffset = |
roundedIntPoint(context.treeBuilderContext.current.paintOffset); |
- walk(*toFrameView(widget), context); |
+ walk(*toFrameView(frameViewBase), context); |
} |
// TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). |
} |