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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.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/LayoutEmbeddedObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
index 54cc8902f412b279808b4bef7fec408d54ec2c5d..454626224f274afc513a7cb603015ae5a1afa5d9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
@@ -120,10 +120,9 @@ void LayoutEmbeddedObject::PaintReplaced(
EmbeddedObjectPainter(*this).PaintReplaced(paint_info, paint_offset);
}
-PaintInvalidationReason LayoutEmbeddedObject::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutEmbeddedObject::InvalidatePaint(
const PaintInvalidatorContext& context) const {
- return EmbeddedObjectPaintInvalidator(*this, context)
- .InvalidatePaintIfNeeded();
+ return EmbeddedObjectPaintInvalidator(*this, context).InvalidatePaint();
}
void LayoutEmbeddedObject::UpdateLayout() {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698