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

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

Issue 754543002: Oilpan: fix build after r185817. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tidy Created 6 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceFetcher.cpp
diff --git a/Source/core/fetch/ResourceFetcher.cpp b/Source/core/fetch/ResourceFetcher.cpp
index 71f753be2c7109ef2845f96e7b638d3e5b03ba16..a947bbd4f0975c4eae3a2d88c35bfa1eb0762465 100644
--- a/Source/core/fetch/ResourceFetcher.cpp
+++ b/Source/core/fetch/ResourceFetcher.cpp
@@ -1311,7 +1311,7 @@ void ResourceFetcher::clearPreloads()
void ResourceFetcher::didFinishLoading(Resource* resource, double finishTime, int64_t encodedDataLength)
{
TRACE_EVENT_ASYNC_END0("net", "Resource", resource);
- RefPtr<Document> protectDocument(m_document);
+ RefPtrWillBeRawPtr<Document> protectDocument(document());
RefPtr<DocumentLoader> protectDocumentLoader(m_documentLoader);
if (resource && resource->response().isHTTP() && resource->response().httpStatusCode() < 400 && document()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698