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

Unified Diff: content/shell/browser/layout_test/layout_test_android.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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: content/shell/browser/layout_test/layout_test_android.cc
diff --git a/content/shell/browser/layout_test/layout_test_android.cc b/content/shell/browser/layout_test/layout_test_android.cc
index 80e7944e30bd2896f363fe1464a82a108e418f47..0674e7f01023e5ea86e636c263e2068c5e46c3b4 100644
--- a/content/shell/browser/layout_test/layout_test_android.cc
+++ b/content/shell/browser/layout_test/layout_test_android.cc
@@ -4,13 +4,14 @@
#include "content/shell/browser/layout_test/layout_test_android.h"
+#include <memory>
+
#include "base/android/context_utils.h"
#include "base/android/fifo_utils.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "content/public/test/nested_message_pump_android.h"
#include "content/shell/common/shell_switches.h"
@@ -32,8 +33,9 @@ void EnsureCreateFIFO(const base::FilePath& path) {
<< "Unable to create the Android's FIFO: " << path.value().c_str();
}
-scoped_ptr<base::MessagePump> CreateMessagePumpForUI() {
- return scoped_ptr<base::MessagePump>(new content::NestedMessagePumpAndroid());
+std::unique_ptr<base::MessagePump> CreateMessagePumpForUI() {
+ return std::unique_ptr<base::MessagePump>(
+ new content::NestedMessagePumpAndroid());
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698