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

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

Issue 2852573002: Rename InvalidatePaintIfNeeded to drop deprecated IfNeeded suffix. (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/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 7016997f225042a2953f42c7494782e083b97eb9..eba570f83baeb7c47ce6c34aae45a404cf88d78b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -441,14 +441,14 @@ void LayoutView::ComputeSelfHitTestRects(Vector<LayoutRect>& rects,
LayoutSize(GetFrameView()->ContentsSize())));
}
-PaintInvalidationReason LayoutView::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutView::InvalidatePaint(
const PaintInvalidationState& paint_invalidation_state) {
- return LayoutBlockFlow::InvalidatePaintIfNeeded(paint_invalidation_state);
+ return LayoutBlockFlow::InvalidatePaint(paint_invalidation_state);
}
-PaintInvalidationReason LayoutView::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutView::InvalidatePaint(
const PaintInvalidatorContext& context) const {
- return ViewPaintInvalidator(*this, context).InvalidatePaintIfNeeded();
+ return ViewPaintInvalidator(*this, context).InvalidatePaint();
}
void LayoutView::Paint(const PaintInfo& paint_info,
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.h ('k') | third_party/WebKit/Source/core/paint/BlockPaintInvalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698