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

Unified Diff: third_party/WebKit/Source/core/inspector/NetworkResourcesData.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/core/inspector/NetworkResourcesData.cpp
diff --git a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
index fd93123c3892a69d2ef31f6f47e711611b5258aa..6e41c048df98ea535ec27eaf574bb51ad529e716 100644
--- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
+++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
@@ -32,7 +32,6 @@
#include "core/fetch/Resource.h"
#include "platform/SharedBuffer.h"
#include "platform/network/ResourceResponse.h"
-#include <memory>
namespace blink {
@@ -208,7 +207,7 @@ void NetworkResourcesData::responseReceived(const String& requestId, const Strin
String filePath = response.downloadedFilePath();
if (!filePath.isEmpty()) {
- std::unique_ptr<BlobData> blobData = BlobData::create();
+ OwnPtr<BlobData> blobData = BlobData::create();
blobData->appendFile(filePath);
AtomicString mimeType;
if (response.isHTTP())

Powered by Google App Engine
This is Rietveld 408576698