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 |