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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileWriterBase.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/modules/filesystem/FileWriterBase.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriterBase.cpp b/third_party/WebKit/Source/modules/filesystem/FileWriterBase.cpp
index ab9f91bd3ced044c7a434156f05821654b5bc577..46da89cff17cecf19b8401ccd946acba108ff4ef 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileWriterBase.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/FileWriterBase.cpp
@@ -34,6 +34,7 @@
#include "core/fileapi/Blob.h"
#include "core/fileapi/FileError.h"
#include "public/platform/WebFileWriter.h"
+#include <memory>
namespace blink {
@@ -41,7 +42,7 @@ FileWriterBase::~FileWriterBase()
{
}
-void FileWriterBase::initialize(PassOwnPtr<WebFileWriter> writer, long long length)
+void FileWriterBase::initialize(std::unique_ptr<WebFileWriter> writer, long long length)
{
ASSERT(!m_writer);
ASSERT(length >= 0);

Powered by Google App Engine
This is Rietveld 408576698