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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2910683003: A video tag should play content src is set asynchronously with preload is disabled.
Patch Set: A video tag should play content when src is set asynchronously ,while preload is disabled. Created 3 years, 5 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/html/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index 88b604d9e95e9b53442d5489fb5279d5531e5381..f8f95d6ccc83db0d378806517794de2bfbc61d13 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -626,6 +626,7 @@ class CORE_EXPORT HTMLMediaElement
// FIXME: HTMLMediaElement has way too many state bits.
bool playing_ : 1;
+ bool pending_play_ : 1;
bool should_delay_load_event_ : 1;
bool have_fired_loaded_data_ : 1;
bool can_autoplay_ : 1;

Powered by Google App Engine
This is Rietveld 408576698