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

Unified Diff: third_party/WebKit/Source/wtf/FilePrintStream.h

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
« no previous file with comments | « third_party/WebKit/Source/wtf/DequeTest.cpp ('k') | third_party/WebKit/Source/wtf/FilePrintStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/FilePrintStream.h
diff --git a/third_party/WebKit/Source/wtf/FilePrintStream.h b/third_party/WebKit/Source/wtf/FilePrintStream.h
index 6f4eccdf6cdd7b5f58c074c49d396b1a91b86af2..8756472e24c059ee8e27bd0adfc94f38dd22b7e1 100644
--- a/third_party/WebKit/Source/wtf/FilePrintStream.h
+++ b/third_party/WebKit/Source/wtf/FilePrintStream.h
@@ -26,8 +26,8 @@
#ifndef FilePrintStream_h
#define FilePrintStream_h
-#include "wtf/PassOwnPtr.h"
#include "wtf/PrintStream.h"
+#include <memory>
#include <stdio.h>
namespace WTF {
@@ -42,7 +42,7 @@ public:
FilePrintStream(FILE*, AdoptionMode = Adopt);
~FilePrintStream() override;
- static PassOwnPtr<FilePrintStream> open(const char* filename, const char* mode);
+ static std::unique_ptr<FilePrintStream> open(const char* filename, const char* mode);
FILE* file() { return m_file; }
« no previous file with comments | « third_party/WebKit/Source/wtf/DequeTest.cpp ('k') | third_party/WebKit/Source/wtf/FilePrintStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698