Index: Source/core/rendering/RenderMedia.cpp |
diff --git a/Source/core/rendering/RenderMedia.cpp b/Source/core/rendering/RenderMedia.cpp |
index a3197d36453e03824b93dfa04a689d8dfb44992b..c69b112c106fdc063bd08e38a5f1ae3f5ff659d7 100644 |
--- a/Source/core/rendering/RenderMedia.cpp |
+++ b/Source/core/rendering/RenderMedia.cpp |
@@ -64,9 +64,6 @@ void RenderMedia::layout() |
if (newSize == oldSize && !controlsNeedLayout) |
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()); |
controlsRenderer->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), paddingTop())); |