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

Unified Diff: Source/core/layout/PaintInvalidationState.h

Issue 1331053002: Propagate resource-triggered repaints to text node children of <text> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix debug compilation. Created 5 years, 3 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: Source/core/layout/PaintInvalidationState.h
diff --git a/Source/core/layout/PaintInvalidationState.h b/Source/core/layout/PaintInvalidationState.h
index c175dce32f7193a2bd6a13757e6781942c1a5e3f..02ebe4bbf1e468df64b8f00a4fe111de81453741 100644
--- a/Source/core/layout/PaintInvalidationState.h
+++ b/Source/core/layout/PaintInvalidationState.h
@@ -36,8 +36,8 @@ public:
bool cachedOffsetsEnabled() const { return m_cachedOffsetsEnabled; }
bool isClipped() const { return m_clipped; }
- bool ancestorHadPaintInvalidationForLocationChange() const { return m_ancestorHadPaintInvalidationForLocationChange; }
- void setAncestorHadPaintInvalidationForLocationChange() { m_ancestorHadPaintInvalidationForLocationChange = true; }
+ bool forcedPaintInvalidation() const { return m_forcedPaintInvalidation; }
pdr. 2015/09/15 02:33:39 Bikeshed: wdyt about changing this to reflect that
fs 2015/09/15 08:44:35 Renamed to the latter.
+ void setForcePaintInvalidation() { m_forcedPaintInvalidation = true; }
const LayoutBoxModelObject& paintInvalidationContainer() const { return m_paintInvalidationContainer; }
@@ -60,7 +60,7 @@ private:
bool m_clipped;
mutable bool m_cachedOffsetsEnabled;
- bool m_ancestorHadPaintInvalidationForLocationChange;
+ bool m_forcedPaintInvalidation;
LayoutRect m_clipRect;

Powered by Google App Engine
This is Rietveld 408576698