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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.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/InspectorNetworkAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
index 31a9361ad76df2c9c4d11df5a99457d277fcd189..9171a7ceb2df33a72a9060fb2161a201ca91fdd6 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -74,7 +74,6 @@
#include "wtf/CurrentTime.h"
#include "wtf/RefPtr.h"
#include "wtf/text/Base64.h"
-#include <memory>
namespace blink {
@@ -184,7 +183,7 @@ private:
String m_mimeType;
String m_textEncodingName;
std::unique_ptr<GetResponseBodyCallback> m_callback;
- std::unique_ptr<FileReaderLoader> m_loader;
+ OwnPtr<FileReaderLoader> m_loader;
RefPtr<SharedBuffer> m_rawData;
};

Powered by Google App Engine
This is Rietveld 408576698