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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentParser.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/dom/DocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentParser.cpp b/third_party/WebKit/Source/core/dom/DocumentParser.cpp
index 0faa59050e949d3f9e6c746de2f261db8ab1ad69..64f22f27e4731d16f05023f859e15ef118fae4a6 100644
--- a/third_party/WebKit/Source/core/dom/DocumentParser.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentParser.cpp
@@ -29,6 +29,7 @@
#include "core/dom/DocumentParserClient.h"
#include "core/html/parser/TextResourceDecoder.h"
#include "wtf/Assertions.h"
+#include <memory>
namespace blink {
@@ -50,7 +51,7 @@ DEFINE_TRACE(DocumentParser)
visitor->trace(m_clients);
}
-void DocumentParser::setDecoder(PassOwnPtr<TextResourceDecoder>)
+void DocumentParser::setDecoder(std::unique_ptr<TextResourceDecoder>)
{
ASSERT_NOT_REACHED();
}

Powered by Google App Engine
This is Rietveld 408576698