Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index aab7c2419df3a36e02e7dc16a12b18132a388b01..6e8f754504acfb6918f7aaad2510e2c2d770e8f9 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -3145,6 +3145,9 @@ void HTMLMediaElement::mediaPlayerSizeChanged() |
{ |
WTF_LOG(Media, "HTMLMediaElement::mediaPlayerSizeChanged"); |
+ if (m_readyState > HAVE_NOTHING) |
+ scheduleEvent(EventTypeNames::resize); |
+ |
if (renderer()) |
renderer()->updateFromElement(); |
} |