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

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

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/dom/DocumentParser.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentParser.h b/third_party/WebKit/Source/core/dom/DocumentParser.h
index 9d6dfee66c3bd84474deaf16359444cc9582f0f0..3362c21eba50e63cb6ab57396f0f22cfd468ae44 100644
--- a/third_party/WebKit/Source/core/dom/DocumentParser.h
+++ b/third_party/WebKit/Source/core/dom/DocumentParser.h
@@ -26,7 +26,6 @@
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
-#include <memory>
namespace blink {
@@ -52,7 +51,7 @@ public:
// The below functions are used by DocumentWriter (the loader).
virtual void appendBytes(const char* bytes, size_t length) = 0;
virtual bool needsDecoder() const { return false; }
- virtual void setDecoder(std::unique_ptr<TextResourceDecoder>);
+ virtual void setDecoder(PassOwnPtr<TextResourceDecoder>);
virtual TextResourceDecoder* decoder();
virtual void setHasAppendedData() { }
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698