Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 91ef6708e6f5e78594ef9b36ad751aec9955cc39..2442d76f5b33e686931b4c908901557862c7df43 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -2047,7 +2047,7 @@ bool HTMLMediaElement::seeking() const |
void HTMLMediaElement::refreshCachedTime() const |
{ |
- if (!webMediaPlayer()) |
+ if (!webMediaPlayer() || m_readyState < HAVE_METADATA) |
return; |
m_cachedTime = webMediaPlayer()->currentTime(); |
acolwell GONE FROM CHROMIUM
2014/09/03 00:21:42
nit: Add a comment indicating that this only conta
scherkus (not reviewing)
2014/09/03 03:27:44
Done in .h
|