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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index 8be7514cc67d7bc098861f0535720d03c1da2c37..4f8c4d0a9cb3e3ed7f94be0bad612c82b8b0cdd3 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -99,7 +99,6 @@
#include "wtf/TemporaryChange.h"
#include "wtf/text/CString.h"
#include "wtf/text/WTFString.h"
-#include <memory>
using blink::WebURLRequest;
@@ -1598,9 +1597,9 @@ SecurityContext::InsecureNavigationsSet* FrameLoader::insecureNavigationsToUpgra
return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade();
}
-std::unique_ptr<TracedValue> FrameLoader::toTracedValue() const
+PassOwnPtr<TracedValue> FrameLoader::toTracedValue() const
{
- std::unique_ptr<TracedValue> tracedValue = TracedValue::create();
+ OwnPtr<TracedValue> tracedValue = TracedValue::create();
tracedValue->beginDictionary("frame");
tracedValue->setString("id_ref", String::format("0x%" PRIx64, static_cast<uint64_t>(reinterpret_cast<uintptr_t>(m_frame.get()))));
tracedValue->endDictionary();
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.h ('k') | third_party/WebKit/Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698