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

Unified Diff: Source/core/fetch/ResourceTest.cpp

Issue 929953002: CachedMetadata support for ServiceWorker script. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated tkent's comment Created 5 years, 10 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
« no previous file with comments | « Source/core/fetch/Resource.cpp ('k') | Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceTest.cpp
diff --git a/Source/core/fetch/ResourceTest.cpp b/Source/core/fetch/ResourceTest.cpp
index ed894063f98d1207ef14a9bd95331025d9f18ee9..7173dd41a2068c9890264644c4e403bb64f2b4ab 100644
--- a/Source/core/fetch/ResourceTest.cpp
+++ b/Source/core/fetch/ResourceTest.cpp
@@ -74,7 +74,7 @@ void createTestResourceAndSetCachedMetadata(const ResourceResponse* response)
const char testData[] = "test data";
ResourcePtr<Resource> resource = new Resource(ResourceRequest(response->url()), Resource::Raw);
resource->setResponse(*response);
- resource->setCachedMetadata(100, testData, sizeof(testData), Resource::SendToPlatform);
+ resource->cacheHandler()->setCachedMetadata(100, testData, sizeof(testData), CachedMetadataHandler::SendToPlatform);
return;
}
« no previous file with comments | « Source/core/fetch/Resource.cpp ('k') | Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698