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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileWriter.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/filesystem/FileWriter.h
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriter.h b/third_party/WebKit/Source/modules/filesystem/FileWriter.h
index a2653a14e18c4b9b5238d733ade89fb21425bcb9..3747cc2a2f91a88319f91054e2e3c2a4af283af1 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileWriter.h
+++ b/third_party/WebKit/Source/modules/filesystem/FileWriter.h
@@ -31,6 +31,7 @@
#ifndef FileWriter_h
#define FileWriter_h
+#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/dom/ExecutionContext.h"
#include "core/fileapi/FileError.h"
@@ -53,6 +54,7 @@ class FileWriter final
: public FileWriterBase
, public EventTargetWithInlineData
#endif
+ , public ActiveScriptWrappable
, public ActiveDOMObject
, public WebFileWriterClient {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase);
@@ -82,7 +84,9 @@ public:
// ActiveDOMObject
void stop() override;
- bool hasPendingActivity() const override;
+
+ // ActiveScriptWrappable
+ bool hasPendingActivity() const final;
// EventTarget
const AtomicString& interfaceName() const override;

Powered by Google App Engine
This is Rietveld 408576698