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

Unified Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp

Issue 2723993002: Rename platform/Widget to platform/FrameViewBase in core. (Closed)
Patch Set: Created 3 years, 10 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/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).
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/PartPainter.cpp ('k') | third_party/WebKit/Source/core/plugins/PluginView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698