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

Unified Diff: Source/core/loader/DocumentLoader.cpp

Issue 552733003: Oilpan: make DOMWindowProperty a GC mixin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Pacify GC plugin wrt LocalDOMWindow::trace() Created 6 years, 3 months 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
Index: Source/core/loader/DocumentLoader.cpp
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
index cd27caf6fa031a79a08d7a27c8725564e91781c6..eaf1393968a8ebe78e7562bee2131158aa3cd935 100644
--- a/Source/core/loader/DocumentLoader.cpp
+++ b/Source/core/loader/DocumentLoader.cpp
@@ -83,7 +83,7 @@ DocumentLoader::DocumentLoader(LocalFrame* frame, const ResourceRequest& req, co
, m_replacesCurrentHistoryItem(false)
, m_loadingMainResource(false)
, m_timeOfLastDataReceived(0.0)
- , m_applicationCacheHost(adoptPtr(new ApplicationCacheHost(this)))
+ , m_applicationCacheHost(ApplicationCacheHost::create(this))
{
}
@@ -744,7 +744,7 @@ void DocumentLoader::startLoadingMainResource()
// If the load was aborted by clearing m_request, it's possible the ApplicationCacheHost
// is now in a state where starting an empty load will be inconsistent. Replace it with
// a new ApplicationCacheHost.
- m_applicationCacheHost = adoptPtr(new ApplicationCacheHost(this));
+ m_applicationCacheHost = ApplicationCacheHost::create(this);
maybeLoadEmpty();
return;
}

Powered by Google App Engine
This is Rietveld 408576698