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

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

Issue 326853002: Revert of Add an ASSERT about cross-world wrapper leakage into ScriptValue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/modules/serviceworkers/RespondWithObserver.h
diff --git a/Source/modules/serviceworkers/RespondWithObserver.h b/Source/modules/serviceworkers/RespondWithObserver.h
index 567edb5dc27abe66d9583cd34714c4bc6b94c7e8..7a3d22cd1b0c4bc1d1e40a49c13972662c17b375 100644
--- a/Source/modules/serviceworkers/RespondWithObserver.h
+++ b/Source/modules/serviceworkers/RespondWithObserver.h
@@ -13,7 +13,6 @@
class ExecutionContext;
class Response;
-class ScriptState;
class ScriptValue;
// This class observes the service worker's handling of a FetchEvent and
@@ -29,7 +28,7 @@
// Observes the promise and delays calling didHandleFetchEvent() until the
// given promise is resolved or rejected.
- void respondWith(ScriptState*, const ScriptValue&);
+ void respondWith(const ScriptValue&);
void responseWasRejected();
void responseWasFulfilled(const ScriptValue&);
« no previous file with comments | « Source/modules/serviceworkers/InstallPhaseEvent.idl ('k') | Source/modules/serviceworkers/RespondWithObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698