| 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 d30914821ac69accefce3cd00151db7df0e37f04..db56d50c45a3fa228f79ad27bdc46bc3c639ab01 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
| @@ -90,7 +90,7 @@ LayoutSize LayoutVideo::calculateIntrinsicSize()
|
| // of the video resource, if that is available; otherwise it is the intrinsic
|
| // height of the poster frame, if that is available; otherwise it is 150 CSS pixels.
|
| WebMediaPlayer* webMediaPlayer = mediaElement()->webMediaPlayer();
|
| - if (webMediaPlayer && video->getReadyState() >= HTMLVideoElement::HAVE_METADATA) {
|
| + if (webMediaPlayer && video->getReadyState() >= HTMLVideoElement::kHaveMetadata) {
|
| IntSize size = webMediaPlayer->naturalSize();
|
| if (!size.isEmpty())
|
| return LayoutSize(size);
|
|
|