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

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

Issue 1172613003: Oilpan: fix build after r196753. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/core/loader/FrameLoader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoader.cpp
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
index 13d5dd123e124e75f84a759f77c95882b64c2720..843337b4fc2f0eb35b0a8ebff7d8e26cdbc94b34 100644
--- a/Source/core/loader/FrameLoader.cpp
+++ b/Source/core/loader/FrameLoader.cpp
@@ -216,7 +216,7 @@ void FrameLoader::setDefersLoading(bool defers)
}
if (!defers) {
- if (m_deferredHistoryLoad.get()) {
+ if (m_deferredHistoryLoad) {
load(FrameLoadRequest(nullptr, m_deferredHistoryLoad->m_request),
m_deferredHistoryLoad->m_loadType, m_deferredHistoryLoad->m_item.get(),
m_deferredHistoryLoad->m_historyLoadType);
@@ -822,8 +822,7 @@ void FrameLoader::load(const FrameLoadRequest& passedRequest, FrameLoadType fram
return;
if (m_frame->page()->defersLoading() && isBackForwardLoadType(frameLoadType)) {
- m_deferredHistoryLoad = adoptPtr(new DeferredHistoryLoad(
- passedRequest.resourceRequest(), historyItem, frameLoadType, historyLoadType));
+ m_deferredHistoryLoad = DeferredHistoryLoad::create(passedRequest.resourceRequest(), historyItem, frameLoadType, historyLoadType);
return;
}
« no previous file with comments | « Source/core/loader/FrameLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698