Index: Source/core/rendering/RenderEmbeddedObject.cpp |
diff --git a/Source/core/rendering/RenderEmbeddedObject.cpp b/Source/core/rendering/RenderEmbeddedObject.cpp |
index f93f9cca8003e967a4e5dd049c9f0068b2a2c82e..5bbf99a3ce4f73889cc2912c499a53d18edd085b 100644 |
--- a/Source/core/rendering/RenderEmbeddedObject.cpp |
+++ b/Source/core/rendering/RenderEmbeddedObject.cpp |
@@ -231,9 +231,6 @@ void RenderEmbeddedObject::layout() |
if (newSize == oldSize && !childBox->needsLayout()) |
return; |
- // When calling layout() on a child node, a parent must either push a LayoutStateMaintainter, or |
- // instantiate LayoutStateDisabler. Since using a LayoutStateMaintainer is slightly more efficient, |
- // and this method will be called many times per second during playback, use a LayoutStateMaintainer: |
LayoutStateMaintainer statePusher(this, locationOffset()); |
childBox->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), paddingTop())); |