Index: base/test/test_support_android.cc |
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc |
index e0443227411127d455c7dc65d8cccbf1279b72dc..1ad4c2b0db035c642c459cbbab4e90f5aa606369 100644 |
--- a/base/test/test_support_android.cc |
+++ b/base/test/test_support_android.cc |
@@ -72,6 +72,8 @@ class Waitable { |
// The MessagePumpForUI implementation for test purpose. |
class MessagePumpForUIStub : public base::MessagePumpForUI { |
+ virtual ~MessagePumpForUIStub() {} |
+ |
virtual void Start(base::MessagePump::Delegate* delegate) OVERRIDE { |
NOTREACHED() << "The Start() method shouldn't be called in test, using" |
" Run() method should be used."; |
@@ -129,9 +131,6 @@ class MessagePumpForUIStub : public base::MessagePumpForUI { |
const base::TimeTicks& delayed_work_time) OVERRIDE { |
Waitable::GetInstance()->Signal(); |
} |
- |
- protected: |
- virtual ~MessagePumpForUIStub() {} |
}; |
base::MessagePump* CreateMessagePumpForUIStub() { |