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

Unified Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.h

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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/modules/mediasource/SourceBuffer.h
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
index ba9512fd61b9aa3bcbb5e561b5196d2812478a0c..c424e05d3ffb0141d975318b30dd2822c6662be2 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
@@ -31,6 +31,7 @@
#ifndef SourceBuffer_h
#define SourceBuffer_h
+#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/fileapi/FileReaderLoaderClient.h"
#include "modules/EventTargetModules.h"
@@ -55,6 +56,7 @@ class WebSourceBuffer;
class SourceBuffer final
: public RefCountedGarbageCollectedEventTargetWithInlineData<SourceBuffer>
+ , public ActiveScriptWrappable
, public ActiveDOMObject
, public FileReaderLoaderClient
, public WebSourceBufferClient {
@@ -91,8 +93,10 @@ public:
void abortIfUpdating();
void removedFromMediaSource();
+ // ActiveScriptWrappable
+ bool hasPendingActivity() const final;
+
// ActiveDOMObject interface
- bool hasPendingActivity() const override;
void suspend() override;
void resume() override;
void stop() override;

Powered by Google App Engine
This is Rietveld 408576698