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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: Rebaseline Created 3 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/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 6a4a5b07426a76c3decd8b6bec230ff82b425a26..2f6db75ba68c8609dee38693ea31c6606922da3a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1641,7 +1641,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
m_bitfields.setFullPaintInvalidationReason(PaintInvalidationNone);
}
- void clearPaintInvalidationFlags();
+ virtual void clearPaintInvalidationFlags();
bool mayNeedPaintInvalidation() const {
return m_bitfields.mayNeedPaintInvalidation();
@@ -1719,6 +1719,9 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
void setShouldDoFullPaintInvalidation(PaintInvalidationReason reason) {
m_layoutObject.setShouldDoFullPaintInvalidation(reason);
}
+ void setMayNeedPaintInvalidation() {
+ m_layoutObject.setMayNeedPaintInvalidation();
+ }
void setBackgroundChangedSinceLastPaintInvalidation() {
m_layoutObject.setBackgroundChangedSinceLastPaintInvalidation();
}

Powered by Google App Engine
This is Rietveld 408576698