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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2539693002: Early-out from the prepaint tree walk (Closed)
Patch Set: Switch away from typed enums which Windows clang does not like Created 4 years 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index b42da5159917ed6d0fa5d353d69374a060836dc3..c1c7eaac846cca419412ec792d1a0ec05eb52f11 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1300,6 +1300,12 @@ void FrameView::invalidatePaintIfNeeded(
layoutViewItem().sendMediaPositionChangeNotifications(visibleRect);
}
+void FrameView::setNeedsPaintPropertyUpdate() {
+ m_needsPaintPropertyUpdate = true;
+ if (LayoutObject* owner = frame().ownerLayoutObject())
+ owner->setDescendantNeedsPaintPropertyUpdate();
+}
+
IntRect FrameView::computeVisibleArea() {
// Return our clipping bounds in the root frame.
IntRect us(frameRect());

Powered by Google App Engine
This is Rietveld 408576698