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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h

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/paint/ObjectPaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
index 9c48bd433bb025529f290fe66d8fc9e5faf71867..26309c80628f7dedd9d98ca895004d081ca8fc5b 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
@@ -95,13 +95,12 @@ class ObjectPaintInvalidatorWithContext : public ObjectPaintInvalidator {
const PaintInvalidatorContext& context)
: ObjectPaintInvalidator(object), context_(context) {}
- PaintInvalidationReason InvalidatePaintIfNeeded() {
- return InvalidatePaintIfNeededWithComputedReason(
- ComputePaintInvalidationReason());
+ PaintInvalidationReason InvalidatePaint() {
+ return InvalidatePaintWithComputedReason(ComputePaintInvalidationReason());
}
PaintInvalidationReason ComputePaintInvalidationReason();
- PaintInvalidationReason InvalidatePaintIfNeededWithComputedReason(
+ PaintInvalidationReason InvalidatePaintWithComputedReason(
PaintInvalidationReason);
// This function generates a full invalidation, which means invalidating both

Powered by Google App Engine
This is Rietveld 408576698