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

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 46b3be9e1fdd3019d3d520ec18988e93dd463b53..1c9d610497182ea0edcf5786c684a9286d39b0cb 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
@@ -78,11 +78,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