| 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 05c1fcd9f311778302f33b28076ea5108a3872b1..65f81e9a1977c417a8783b581813be5339de53ea 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| @@ -41,6 +41,10 @@
|
| #include "public/platform/WebMediaPlayerClient.h"
|
| #include "public/platform/WebMimeRegistry.h"
|
|
|
| +#if !ENABLE(OILPAN)
|
| +#include "wtf/WeakPtr.h"
|
| +#endif
|
| +
|
| namespace blink {
|
|
|
| class AudioSourceProviderClient;
|
| @@ -265,6 +269,10 @@ public:
|
| WebRemotePlaybackClient* remotePlaybackClient() { return m_remotePlaybackClient; }
|
| void setRemotePlaybackClient(WebRemotePlaybackClient*);
|
|
|
| +#if !ENABLE(OILPAN)
|
| + WeakPtr<HTMLMediaElement> createWeakPtr();
|
| +#endif
|
| +
|
| protected:
|
| HTMLMediaElement(const QualifiedName&, Document&);
|
| ~HTMLMediaElement() override;
|
| @@ -645,6 +653,10 @@ private:
|
|
|
| WebRemotePlaybackClient* m_remotePlaybackClient;
|
|
|
| +#if !ENABLE(OILPAN)
|
| + WeakPtrFactory<HTMLMediaElement> m_weakPtrFactory;
|
| +#endif
|
| +
|
| static URLRegistry* s_mediaStreamRegistry;
|
| };
|
|
|
|
|