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

Unified Diff: Source/modules/serviceworkers/ExtendableEvent.cpp

Issue 1256133002: Service Worker: Correct Web IDL of ExtendableEvent.waitUntil method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address comment: add/delete headers. Created 5 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
Index: Source/modules/serviceworkers/ExtendableEvent.cpp
diff --git a/Source/modules/serviceworkers/ExtendableEvent.cpp b/Source/modules/serviceworkers/ExtendableEvent.cpp
index cdf6c06e53cb4455f359433bf38efd076eeda17d..d398fc5753fd11592c407e38444925f32d96d54a 100644
--- a/Source/modules/serviceworkers/ExtendableEvent.cpp
+++ b/Source/modules/serviceworkers/ExtendableEvent.cpp
@@ -55,10 +55,10 @@ ExtendableEvent::~ExtendableEvent()
{
}
-void ExtendableEvent::waitUntil(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState)
+void ExtendableEvent::waitUntil(ScriptState* scriptState, ScriptPromise scriptPromise, ExceptionState& exceptionState)
{
if (m_observer)
- m_observer->waitUntil(scriptState, value, exceptionState);
+ m_observer->waitUntil(scriptState, scriptPromise, exceptionState);
}
ExtendableEvent::ExtendableEvent()

Powered by Google App Engine
This is Rietveld 408576698