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

Unified Diff: third_party/WebKit/Source/platform/testing/weburl_loader_mock.h

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/testing/weburl_loader_mock.h
diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
index 8978b777d38d0fc6c91b0eb59aeaeddf51ed8ff2..b79626640108cf816a8815129093e62ec1373ce5 100644
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
@@ -7,8 +7,8 @@
#include "base/macros.h"
#include "public/platform/WebURLLoader.h"
+#include "wtf/OwnPtr.h"
#include "wtf/WeakPtr.h"
-#include <memory>
namespace blink {
@@ -61,7 +61,7 @@ class WebURLLoaderMock : public WebURLLoader {
private:
WebURLLoaderMockFactoryImpl* factory_ = nullptr;
WebURLLoaderClient* client_ = nullptr;
- std::unique_ptr<WebURLLoader> default_loader_;
+ OwnPtr<WebURLLoader> default_loader_;
bool using_default_loader_ = false;
bool is_deferred_ = false;

Powered by Google App Engine
This is Rietveld 408576698