Index: base/test/test_support_android.cc |
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc |
index 1ad4c2b0db035c642c459cbbab4e90f5aa606369..b67ecacfb6cde8026f94835f529a2aabb88bc37e 100644 |
--- a/base/test/test_support_android.cc |
+++ b/base/test/test_support_android.cc |
@@ -133,8 +133,8 @@ class MessagePumpForUIStub : public base::MessagePumpForUI { |
} |
}; |
-base::MessagePump* CreateMessagePumpForUIStub() { |
- return new MessagePumpForUIStub(); |
+scoped_ptr<base::MessagePump> CreateMessagePumpForUIStub() { |
+ return scoped_ptr<base::MessagePump>(new MessagePumpForUIStub()); |
}; |
// Provides the test path for DIR_MODULE and DIR_ANDROID_APP_DATA. |