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

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

Issue 314953005: 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/WaitUntilObserver.h
diff --git a/Source/modules/serviceworkers/WaitUntilObserver.h b/Source/modules/serviceworkers/WaitUntilObserver.h
index e0c4e7462da2c9c0cc8f9028b931138e21d677b7..fb665f8e0fbfe703577ee300d9217fa17a569cf4 100644
--- a/Source/modules/serviceworkers/WaitUntilObserver.h
+++ b/Source/modules/serviceworkers/WaitUntilObserver.h
@@ -13,6 +13,7 @@
namespace WebCore {
class ExecutionContext;
+class ScriptState;
class ScriptValue;
// Created for each InstallPhaseEvent instance.
@@ -35,7 +36,7 @@ public:
// Observes the promise and delays calling the continuation until
// the given promise is resolved or rejected.
- void waitUntil(const ScriptValue&);
+ void waitUntil(ScriptState*, const ScriptValue&);
private:
class ThenFunction;

Powered by Google App Engine
This is Rietveld 408576698