| 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 8f5e5e724b65aa16720ac3bdd55db79d41d2cde7..7123760ca703f759aa57ee8556cdea9a838d5e3e 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;
|
| @@ -641,6 +649,10 @@ private:
|
|
|
| WebRemotePlaybackClient* m_remotePlaybackClient;
|
|
|
| +#if !ENABLE(OILPAN)
|
| + WeakPtrFactory<HTMLMediaElement> m_weakPtrFactory;
|
| +#endif
|
| +
|
| static URLRegistry* s_mediaStreamRegistry;
|
| };
|
|
|
|
|