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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h

Issue 2539183006: Remove RefPtr<ScriptState> from FetchEvent (Closed)
Patch Set: temp Created 4 years 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 | third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
index e7a5e13d51ff0a5cf74b011f9a29835fa8204cf6..cf6f25496022e7e0c5b92cdae2a211709234ad50 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
@@ -54,9 +54,11 @@ class MODULES_EXPORT FetchEvent final : public ExtendableEvent {
void respondWith(ScriptState*, ScriptPromise, ExceptionState&);
ScriptPromise preloadResponse(ScriptState*);
- void onNavigationPreloadResponse(std::unique_ptr<WebServiceWorkerResponse>,
+ void onNavigationPreloadResponse(ScriptState*,
+ std::unique_ptr<WebServiceWorkerResponse>,
std::unique_ptr<WebDataConsumerHandle>);
- void onNavigationPreloadError(std::unique_ptr<WebServiceWorkerError>);
+ void onNavigationPreloadError(ScriptState*,
+ std::unique_ptr<WebServiceWorkerError>);
const AtomicString& interfaceName() const override;
@@ -71,7 +73,6 @@ class MODULES_EXPORT FetchEvent final : public ExtendableEvent {
bool navigationPreloadSent);
private:
- RefPtr<ScriptState> m_scriptState;
Member<RespondWithObserver> m_observer;
Member<Request> m_request;
Member<PreloadResponseProperty> m_preloadResponseProperty;
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698