Index: Source/web/WebLeakDetector.cpp |
diff --git a/Source/web/WebLeakDetector.cpp b/Source/web/WebLeakDetector.cpp |
index 33f11d9cab9e4958641fb4669a34e6e56c10e2f0..0a530cec40cd4ddd08da7118b6e4f9fb2a80b66e 100644 |
--- a/Source/web/WebLeakDetector.cpp |
+++ b/Source/web/WebLeakDetector.cpp |
@@ -82,7 +82,7 @@ void WebLeakDetectorImpl::collectGarbageAndGetDOMCounts(WebLocalFrame* frame) |
memoryCache()->evictResources(); |
{ |
- RefPtr<Document> document = PassRefPtr<Document>(frame->document()); |
+ RefPtrWillBeRawPtr<Document> document = PassRefPtrWillBeRawPtr<Document>(frame->document()); |
if (ResourceFetcher* fetcher = document->fetcher()) |
fetcher->garbageCollectDocumentResources(); |
} |