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

Unified Diff: third_party/WebKit/Source/platform/blob/BlobRegistry.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/platform/blob/BlobRegistry.cpp
diff --git a/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp b/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp
index 6458fd97e4548bc20223f64aad87f760335308be..c0d1158269ecd7c3b204aa9d386add933153f7c0 100644
--- a/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp
+++ b/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp
@@ -48,7 +48,6 @@
#include "wtf/Threading.h"
#include "wtf/text/StringHash.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace blink {
@@ -89,7 +88,7 @@ static void removeFromOriginMap(const KURL& url)
originMap()->remove(url.getString());
}
-void BlobRegistry::registerBlobData(const String& uuid, std::unique_ptr<BlobData> data)
+void BlobRegistry::registerBlobData(const String& uuid, PassOwnPtr<BlobData> data)
{
blobRegistry()->registerBlobData(uuid, WebBlobData(std::move(data)));
}
« no previous file with comments | « third_party/WebKit/Source/platform/blob/BlobRegistry.h ('k') | third_party/WebKit/Source/platform/exported/Platform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698