| Index: third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLeakDetector.cpp b/third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| index 54c16242e9826b7459cf8f1f0f1d377faff17104..e334b9f547076870826a6097f22b7a1cddee9a2c 100644
|
| --- a/third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| @@ -38,7 +38,6 @@
|
| #include "core/dom/ActiveDOMObject.h"
|
| #include "core/dom/Document.h"
|
| #include "core/fetch/MemoryCache.h"
|
| -#include "core/fetch/ResourceFetcher.h"
|
| #include "core/inspector/InstanceCounters.h"
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/workers/WorkerThread.h"
|
| @@ -93,12 +92,6 @@ void WebLeakDetectorImpl::prepareForLeakDetection(WebLocalFrame* frame)
|
| WorkerThread::terminateAndWaitForAllWorkers();
|
| memoryCache()->evictResources();
|
|
|
| - {
|
| - RefPtrWillBeRawPtr<Document> document = PassRefPtrWillBeRawPtr<Document>(frame->document());
|
| - if (ResourceFetcher* fetcher = document->fetcher())
|
| - fetcher->garbageCollectDocumentResources();
|
| - }
|
| -
|
| // FIXME: HTML5 Notification should be closed because notification affects the result of number of DOM objects.
|
|
|
| V8PerIsolateData::from(isolate)->clearScriptRegexpContext();
|
|
|