Index: third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp |
diff --git a/third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp b/third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp |
index 19baca346415da875765abe42ffdc0895db65e9b..c81110727129b5c29949b2d4d342969c635b300f 100644 |
--- a/third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp |
+++ b/third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp |
@@ -258,7 +258,9 @@ static bool isCacheableHTTPMethod(const AtomicString& method) { |
return method != "POST" && method != "PUT" && method != "DELETE"; |
} |
-bool RawResource::canReuse(const ResourceRequest& newRequest) const { |
+bool RawResource::canReuse(const FetchRequest& newFetchRequest) const { |
+ const ResourceRequest& newRequest = newFetchRequest.resourceRequest(); |
+ |
if (getDataBufferingPolicy() == DoNotBufferData) |
return false; |