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

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

Issue 2585603002: [SPInvaldation] Update subtree paint properties when a layout subtree is inserted (Closed)
Patch Set: 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.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index d0946ae4bea708f14685b5ccd0fec2e86065f2fa..b0fd890aa02ecd02f8502ee2f1e7b3bc1e0a996b 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -749,18 +749,6 @@ class CORE_EXPORT FrameView final
}
bool needsPaintPropertyUpdate() const { return m_needsPaintPropertyUpdate; }
- // Set when the whole frame subtree needs full paint invalidation and paint
- // property update, e.g. when beginning or finishing printing.
- void setShouldInvalidateAllPaintAndPaintProperties() {
- m_shouldInvalidateAllPaintAndPaintProperties = true;
- }
- void clearShouldInvalidateAllPaintAndPaintProperties() {
- m_shouldInvalidateAllPaintAndPaintProperties = true;
- }
- bool shouldInvalidateAllPaintAndPaintProperties() const {
- return m_shouldInvalidateAllPaintAndPaintProperties;
- }
-
Xianzhu 2016/12/16 01:00:04 Some changes in this CL are actually revert of htt
// TODO(ojan): Merge this with IntersectionObserver once it lands.
IntRect computeVisibleArea();
@@ -1116,7 +1104,6 @@ class CORE_EXPORT FrameView final
// Whether the paint properties need to be updated. For more details, see
// FrameView::needsPaintPropertyUpdate().
bool m_needsPaintPropertyUpdate;
- bool m_shouldInvalidateAllPaintAndPaintProperties;
// This is set on the local root frame view only.
DocumentLifecycle::LifecycleState m_currentUpdateLifecyclePhasesTargetState;

Powered by Google App Engine
This is Rietveld 408576698