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

Unified Diff: ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 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: ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
diff --git a/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm b/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
index 70c0bee21b1f3d9f606f8aac73ed1c118e7d50e9..8196b9632eb2d54dcf49436978728d2bb1afb9be 100644
--- a/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
+++ b/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
@@ -7,6 +7,7 @@
#import <WebKit/WebKit.h>
#import "base/ios/weak_nsobject.h"
+#include "base/memory/ptr_util.h"
#include "ios/web/public/test/scoped_testing_web_client.h"
#include "ios/web/public/test/test_browser_state.h"
#include "ios/web/public/web_client.h"
@@ -22,7 +23,7 @@ namespace {
class WKWebViewConfigurationProviderTest : public PlatformTest {
public:
WKWebViewConfigurationProviderTest()
- : web_client_(make_scoped_ptr(new web::WebClient)) {}
+ : web_client_(base::WrapUnique(new web::WebClient)) {}
protected:
// Returns WKWebViewConfigurationProvider associated with |browser_state_|.
« no previous file with comments | « ios/web/web_state/ui/wk_back_forward_list_item_holder_unittest.mm ('k') | ios/web/web_state/web_state_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698