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() { |