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

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

Issue 2732573003: Skip paint property update and visual rect update if no geometry change (Closed)
Patch Set: - Created 3 years, 9 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 badb611965ef3f04785b6f3aacd3c32fadd9bb5c..3d2f5f4846f4c24eb76900e9efdce7f8695aa3e1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1723,6 +1723,11 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
void setShouldDoFullPaintInvalidation(PaintInvalidationReason reason) {
m_layoutObject.setShouldDoFullPaintInvalidation(reason);
}
+ void setShouldDoFullPaintInvalidationWithoutGeometryChange(
+ PaintInvalidationReason reason) {
+ m_layoutObject.setShouldDoFullPaintInvalidationWithoutGeometryChange(
+ reason);
+ }
void setBackgroundChangedSinceLastPaintInvalidation() {
m_layoutObject.setBackgroundChangedSinceLastPaintInvalidation();
}

Powered by Google App Engine
This is Rietveld 408576698