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

Unified Diff: Source/web/WebSharedWorkerImpl.cpp

Issue 360233005: Replace 'ResourceRequest::TargetType' with 'ResourceRequest::RequestContext'. (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/web/WebSharedWorkerImpl.cpp
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
index b36029b4be8659ac126feb7ecafe6085d614ab0c..7d182b3edcebb39f7ff69102268640a3daa2fa8e 100644
--- a/Source/web/WebSharedWorkerImpl.cpp
+++ b/Source/web/WebSharedWorkerImpl.cpp
@@ -92,7 +92,7 @@ public:
ASSERT(loadingContext);
m_receiveResponseCallback = receiveResponseCallback;
m_finishCallback = finishCallback;
- m_scriptLoader->setTargetType(ResourceRequest::TargetIsSharedWorker);
+ m_scriptLoader->setRequestContext(ResourceRequest::SharedWorkerContext);
m_scriptLoader->loadAsynchronously(
*loadingContext, scriptURL, DenyCrossOriginRequests, this);
}

Powered by Google App Engine
This is Rietveld 408576698