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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutPart.cpp

Issue 1603983002: Fix partial painting with render pipeline throttling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Invalidate paint for unthrottled frame. Created 4 years, 11 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/layout/LayoutPart.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
index 400584a003559365c891092d0467552eddfe435d..d361b72c24c6bf2d32887e09e989c32ecacf8c28 100644
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
@@ -355,12 +355,4 @@ void LayoutPart::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& paint
LayoutReplaced::invalidatePaintOfSubtreesIfNeeded(paintInvalidationState);
}
-bool LayoutPart::isThrottledFrameView() const
-{
- if (!widget() || !widget()->isFrameView())
- return false;
- const FrameView* frameView = toFrameView(widget());
- return frameView->shouldThrottleRendering();
-}
-
}

Powered by Google App Engine
This is Rietveld 408576698