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

Unified Diff: Source/modules/serviceworkers/FetchBodyStream.h

Issue 390673002: Replace uses of {un}setPendingActivity() in FetchBodyStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/modules/serviceworkers/FetchBodyStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchBodyStream.h
diff --git a/Source/modules/serviceworkers/FetchBodyStream.h b/Source/modules/serviceworkers/FetchBodyStream.h
index 08773466aafa60c86756c4f7071b81096214ad7a..6ea413672ab70583ad682dabd4f8c94b55704dea 100644
--- a/Source/modules/serviceworkers/FetchBodyStream.h
+++ b/Source/modules/serviceworkers/FetchBodyStream.h
@@ -20,11 +20,8 @@ namespace WebCore {
class ScriptState;
-// FIXME: Oilpan: when the implementation stops using
-// ActiveDOMObject::(un)setPendingActivity, derive from
-// RefCountedWillBeGarbageCollectedFinalized instead.
class FetchBodyStream FINAL
- : public RefCountedWillBeRefCountedGarbageCollected<FetchBodyStream>
+ : public RefCountedWillBeGarbageCollectedFinalized<FetchBodyStream>
, public ScriptWrappable
, public ActiveDOMObject
, public FileReaderLoaderClient {
@@ -48,6 +45,7 @@ public:
// ActiveDOMObject override.
virtual void stop() OVERRIDE;
+ virtual bool hasPendingActivity() const OVERRIDE;
void trace(Visitor*) { }
« no previous file with comments | « no previous file | Source/modules/serviceworkers/FetchBodyStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698