Index: Source/core/fetch/ResourceFetcher.cpp |
diff --git a/Source/core/fetch/ResourceFetcher.cpp b/Source/core/fetch/ResourceFetcher.cpp |
index 9334779c50b475516308adb3d948ef5fe5ba10fc..cd92d75b11102d71dc77a1a85b3f192f25ca0aad 100644 |
--- a/Source/core/fetch/ResourceFetcher.cpp |
+++ b/Source/core/fetch/ResourceFetcher.cpp |
@@ -742,8 +742,8 @@ ResourcePtr<Resource> ResourceFetcher::revalidateResource(const FetchRequest& re |
ResourceRequest revalidatingRequest(resource->resourceRequest()); |
addAdditionalRequestHeaders(revalidatingRequest, resource->type()); |
- const String& lastModified = resource->response().httpHeaderField("Last-Modified"); |
- const String& eTag = resource->response().httpHeaderField("ETag"); |
+ const AtomicString& lastModified = resource->response().httpHeaderField("Last-Modified"); |
+ const AtomicString& eTag = resource->response().httpHeaderField("ETag"); |
if (!lastModified.isEmpty() || !eTag.isEmpty()) { |
ASSERT(context().cachePolicy(resource->type()) != CachePolicyReload); |
if (context().cachePolicy(resource->type()) == CachePolicyRevalidate) |