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

Unified Diff: Source/core/rendering/RenderView.cpp

Issue 476223003: Use tighter typing for Document::ownerElement() return value (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/rendering/RenderBoxModelObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderView.cpp
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
index 4e82b3293843666b51d6239e608faa56946e2f1b..07d63894afa099a864db6291c6b6b9d20d573c79 100644
--- a/Source/core/rendering/RenderView.cpp
+++ b/Source/core/rendering/RenderView.cpp
@@ -453,7 +453,7 @@ void RenderView::invalidatePaintForRectangle(const LayoutRect& paintInvalidation
// We always just invalidate the root view, since we could be an iframe that is clipped out
// or even invisible.
- Element* owner = document().ownerElement();
+ HTMLFrameOwnerElement* owner = document().ownerElement();
if (layer()->compositingState() == PaintsIntoOwnBacking) {
layer()->paintInvalidator().setBackingNeedsPaintInvalidationInRect(paintInvalidationRect);
} else if (!owner) {
« no previous file with comments | « Source/core/rendering/RenderBoxModelObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698