Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutVideo.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698