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

Unified Diff: third_party/WebKit/Source/core/layout/PaintInvalidationState.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/PaintInvalidationState.h
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
index 74b2ce0899b123bea1cf6e1b4226b5a52a46d4ce..54cbde2fb2ad14576faa8b6ced9984667f7d82e2 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
@@ -76,11 +76,11 @@ class CORE_EXPORT PaintInvalidationState {
bool forcedSubtreeInvalidationRectUpdateWithinContainerOnly() const {
return m_forcedSubtreeInvalidationFlags ==
- PaintInvalidatorContext::ForcedSubtreeInvalidationRectUpdate;
+ PaintInvalidatorContext::ForcedSubtreeVisualRectUpdate;
}
void setForceSubtreeInvalidationRectUpdateWithinContainer() {
m_forcedSubtreeInvalidationFlags |=
- PaintInvalidatorContext::ForcedSubtreeInvalidationRectUpdate;
+ PaintInvalidatorContext::ForcedSubtreeVisualRectUpdate;
}
const LayoutBoxModelObject& paintInvalidationContainer() const {

Powered by Google App Engine
This is Rietveld 408576698