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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 548907dd20a6eab1e2352cd7e13ca31bc82a21bd..5719e404b538bd0c67df7793c14f850aaec4227a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -1885,7 +1885,7 @@ void LayoutBox::EnsureIsReadyForPaintInvalidation() {
SetShouldDoFullPaintInvalidationWithoutGeometryChange(kPaintInvalidationFull);
}
-PaintInvalidationReason LayoutBox::InvalidatePaint(
+PaintInvalidationReason LayoutBox::DeprecatedInvalidatePaint(
const PaintInvalidationState& paint_invalidation_state) {
if (HasBoxDecorationBackground()
// We also paint overflow controls in background phase.
@@ -1895,7 +1895,8 @@ PaintInvalidationReason LayoutBox::InvalidatePaint(
layer.SetNeedsPaintPhaseDescendantBlockBackgrounds();
}
- return LayoutBoxModelObject::InvalidatePaint(paint_invalidation_state);
+ return LayoutBoxModelObject::DeprecatedInvalidatePaint(
+ paint_invalidation_state);
}
PaintInvalidationReason LayoutBox::InvalidatePaint(
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.h ('k') | third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698