| Index: third_party/WebKit/WebCore/rendering/RenderVideo.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/rendering/RenderVideo.cpp (revision 11154)
|
| +++ third_party/WebKit/WebCore/rendering/RenderVideo.cpp (working copy)
|
| @@ -125,12 +125,9 @@
|
| return;
|
| }
|
|
|
| - // FIXME: This doesn't work correctly with transforms.
|
| - FloatPoint absPos = localToAbsolute();
|
| IntRect videoBounds = videoBox();
|
| - videoBounds.move(absPos.x(), absPos.y());
|
| mediaPlayer->setFrameView(document()->view());
|
| - mediaPlayer->setRect(videoBounds);
|
| + mediaPlayer->setSize(IntSize(videoBounds.width(), videoBounds.height()));
|
| mediaPlayer->setVisible(true);
|
| }
|
|
|
|
|