commit | eed3318eaa4bb5a8c252093c4d9881b4ef14de99 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Mar 07 17:03:54 2014 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Mar 07 17:03:54 2014 |
tree | d0a529281019d9880d57db225d9ef08609a2a796 | |
parent | 7c0b1fffb391dbbc7ec157e2858d411b28267461 [diff] [blame] |
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