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

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

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 10 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 f6638f17b9bdb83310cd26dd53eca440bfd9deaf..7c04530985119d4ff3801ab74874bbe0b6a7e542 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->readyState() >= HTMLVideoElement::HAVE_METADATA) {
+ if (webMediaPlayer && video->getReadyState() >= HTMLVideoElement::HAVE_METADATA) {
IntSize size = webMediaPlayer->naturalSize();
if (!size.isEmpty())
return LayoutSize(size);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.cpp ('k') | third_party/WebKit/public/platform/WebMediaPlayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698