Index: base/test/test_support_android.cc |
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc |
index 8b512f46d725cbc3e3ba4a7dcbaf5178381bfb8f..e38a897f1291fe4101db127fbf4009234d81a535 100644 |
--- a/base/test/test_support_android.cc |
+++ b/base/test/test_support_android.cc |
@@ -183,7 +183,8 @@ void InitAndroidTestPaths() { |
} |
void InitAndroidTestMessageLoop() { |
- MessageLoop::InitMessagePumpForUIFactory(&CreateMessagePumpForUIStub); |
+ if (!MessageLoop::InitMessagePumpForUIFactory(&CreateMessagePumpForUIStub)) |
+ LOG(INFO) << "MessagePumpForUIFactory already set, unable to override."; |
} |
void InitAndroidTest() { |