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

Unified Diff: content/shell/browser/shell_layout_tests_android.cc

Issue 185413019: Used scoped_ptr in InitMessagePumpForUIFactory and CreateMessagePumpForType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes in accordance to build fail for linux chromeos Created 6 years, 9 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
« no previous file with comments | « base/test/test_support_ios.mm ('k') | content/test/content_test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_layout_tests_android.cc
diff --git a/content/shell/browser/shell_layout_tests_android.cc b/content/shell/browser/shell_layout_tests_android.cc
index de94b8ccf68be40f88cc35cadcb08ca683bd1474..5047bb613c70759e57cfd8512844fe09663c214e 100644
--- a/content/shell/browser/shell_layout_tests_android.cc
+++ b/content/shell/browser/shell_layout_tests_android.cc
@@ -37,8 +37,8 @@ void EnsureCreateFIFO(const base::FilePath& path) {
<< "Unable to create the Android's FIFO: " << path.value().c_str();
}
-base::MessagePump* CreateMessagePumpForUI() {
- return new content::NestedMessagePumpAndroid();
+scoped_ptr<base::MessagePump> CreateMessagePumpForUI() {
+ return scoped_ptr<base::MessagePump>(new content::NestedMessagePumpAndroid());
}
} // namespace
« no previous file with comments | « base/test/test_support_ios.mm ('k') | content/test/content_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698