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

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 f59a44bbfcd08d3f4e903cbbc8425c825ebc048f..847e803c1ca5155766cedaf38d5c1dd39e2c2c48 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1791,6 +1791,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();
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698