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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 2e7894507170d4f8e49a596d869de221b4e3a933..94240cc36f5d5310e64dbc667047c32ee3455fb4 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1378,7 +1378,7 @@ void FrameView::InvalidateTreeIfNeeded(
TRACE_EVENT1("blink", "FrameView::invalidateTree", "root",
root_for_paint_invalidation.DebugName().Ascii());
- InvalidatePaintIfNeeded(paint_invalidation_state);
+ InvalidatePaint(paint_invalidation_state);
root_for_paint_invalidation.InvalidateTreeIfNeeded(paint_invalidation_state);
#if DCHECK_IS_ON()
@@ -1388,7 +1388,7 @@ void FrameView::InvalidateTreeIfNeeded(
Lifecycle().AdvanceTo(DocumentLifecycle::kPaintInvalidationClean);
}
-void FrameView::InvalidatePaintIfNeeded(
+void FrameView::InvalidatePaint(
const PaintInvalidationState& paint_invalidation_state) {
RELEASE_ASSERT(!GetLayoutViewItem().IsNull());
if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled())
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698