| Index: third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| index 2a9483ee9b58da882a0e22df4f0b4b5e07d0c19c..6080ec44a5e217fce8f0bf1ff75a8b71c4fdef04 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| @@ -122,13 +122,13 @@ void LayoutVideo::imageChanged(WrappedImagePtr newImage, const IntRect* rect)
|
| updateIntrinsicSize();
|
| }
|
|
|
| -IntRect LayoutVideo::videoBox() const
|
| +LayoutRect LayoutVideo::videoBox() const
|
| {
|
| const LayoutSize* overriddenIntrinsicSize = nullptr;
|
| if (videoElement()->shouldDisplayPosterImage())
|
| overriddenIntrinsicSize = &m_cachedImageSize;
|
|
|
| - return pixelSnappedIntRect(replacedContentRect(overriddenIntrinsicSize));
|
| + return replacedContentRect(overriddenIntrinsicSize);
|
| }
|
|
|
| bool LayoutVideo::shouldDisplayVideo() const
|
|
|