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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp

Issue 2851453005: Mark some non-spinvalidation methods deprecated, and update paint/README.md (Closed)
Patch Set: - Created 3 years, 8 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/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index da8607bd6916146c8fe94b8227354113cd58947c..951033f5eac542974603457a431f8b0042f3c607 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -550,7 +550,7 @@ void LayoutBoxModelObject::AddLayerHitTestRects(
}
DISABLE_CFI_PERF
-void LayoutBoxModelObject::InvalidateTreeIfNeeded(
+void LayoutBoxModelObject::DeprecatedInvalidateTree(
const PaintInvalidationState& paint_invalidation_state) {
DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
EnsureIsReadyForPaintInvalidation();
@@ -569,7 +569,7 @@ void LayoutBoxModelObject::InvalidateTreeIfNeeded(
LayoutRect previous_visual_rect = VisualRect();
LayoutPoint previous_location = paint_invalidator.LocationInBacking();
PaintInvalidationReason reason =
- InvalidatePaint(new_paint_invalidation_state);
+ DeprecatedInvalidatePaint(new_paint_invalidation_state);
if (previous_location != paint_invalidator.LocationInBacking()) {
new_paint_invalidation_state
@@ -589,7 +589,7 @@ void LayoutBoxModelObject::InvalidateTreeIfNeeded(
}
new_paint_invalidation_state.UpdateForChildren(reason);
- InvalidatePaintOfSubtreesIfNeeded(new_paint_invalidation_state);
+ DeprecatedInvalidatePaintOfSubtrees(new_paint_invalidation_state);
ClearPaintInvalidationFlags();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698