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 2a0ec2e9f3a4f7dae2749d73f9c5738d08013f5e..3606c6c0a80aa98ac50e17d5bc6133ec19ef2c0e 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
@@ -280,6 +280,8 @@ protected: |
virtual void setDisplayMode(DisplayMode mode) { m_displayMode = mode; } |
private: |
+ class Task; |
+ |
void resetMediaPlayerAndMediaSource(); |
bool alwaysCreateUserAgentShadowRoot() const final { return true; } |
@@ -348,6 +350,7 @@ private: |
// loading |
void invokeLoadAlgorithm(); |
void invokeResourceSelectionAlgorithm(); |
+ void continueResourceSelectionAlgorithm(); |
void loadInternal(); |
void selectMediaResource(); |
void loadResource(const KURL&, ContentType&); |
@@ -582,6 +585,8 @@ private: |
GC_PLUGIN_IGNORE("http://crbug.com/404577") |
RawPtrWillBeWeakMember<AudioSourceProviderClient> m_audioSourceNode; |
+ WeakPtr<Task> m_pendingTask; // owned by Microtask |
+ |
// AudioClientImpl wraps an AudioSourceProviderClient. |
// When the audio format is known, Chromium calls setFormat(). |
class AudioClientImpl final : public GarbageCollectedFinalized<AudioClientImpl>, public WebAudioSourceProviderClient { |