Used scoped_ptr

There was this TODO(sky): convert this and InitMessagePumpForUIFactory() to return a
scoped_ptr.

This patch is for doing the same.

[email protected], [email protected]

Review URL: https://codereview.chromium.org/185413019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255643 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/test/content_test_launcher.cc b/content/test/content_test_launcher.cc
index 09078b2..e61d397 100644
--- a/content/test/content_test_launcher.cc
+++ b/content/test/content_test_launcher.cc
@@ -61,8 +61,8 @@
 };
 
 #if defined(OS_ANDROID)
-base::MessagePump* CreateMessagePumpForUI() {
-  return new NestedMessagePumpAndroid();
+scoped_ptr<base::MessagePump> CreateMessagePumpForUI() {
+  return scoped_ptr<base::MessagePump>(new NestedMessagePumpAndroid());
 };
 #endif