| 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 7921851788b9f639545b4d158ef0e7f1e7d410bd..15af32e8d04e4da0ca7b3862d27c21fa9cf8c9ba 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| @@ -104,7 +104,7 @@ LayoutSize LayoutVideo::calculateIntrinsicSize()
|
| // size to 300x1 the video will resize itself in these cases, and audio will
|
| // have the correct height (it needs to be > 0 for controls to layout properly).
|
| if (video->ownerDocument() && video->ownerDocument()->isMediaDocument())
|
| - return LayoutSize(defaultSize().width(), 1);
|
| + return LayoutSize(defaultSize().width(), LayoutUnit(1));
|
|
|
| return defaultSize();
|
| }
|
|
|