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

Unified Diff: ios/web/public/test/test_web_thread.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add header 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/public/test/test_web_thread.h
diff --git a/ios/web/public/test/test_web_thread.h b/ios/web/public/test/test_web_thread.h
index 4ad9eb705c806b16db93a76aebaad0c6d5dbc290..b1159d1e54bf5cf9b078cb199012a7b684d2c70a 100644
--- a/ios/web/public/test/test_web_thread.h
+++ b/ios/web/public/test/test_web_thread.h
@@ -5,8 +5,9 @@
#ifndef IOS_WEB_PUBLIC_TEST_TEST_WEB_THREAD_H_
#define IOS_WEB_PUBLIC_TEST_TEST_WEB_THREAD_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ios/web/public/web_thread.h"
namespace base {
@@ -44,7 +45,7 @@ class TestWebThread {
bool IsRunning();
private:
- scoped_ptr<TestWebThreadImpl> impl_;
+ std::unique_ptr<TestWebThreadImpl> impl_;
DISALLOW_COPY_AND_ASSIGN(TestWebThread);
};

Powered by Google App Engine
This is Rietveld 408576698