Index: ppapi/shared_impl/test_globals.cc |
diff --git a/ppapi/shared_impl/test_globals.cc b/ppapi/shared_impl/test_globals.cc |
index f8997dcb8d4c8f6ef709fb46f219c7c278bc650c..b1dc0fe0e5fe631209758acb06cc375a9c4e5a30 100644 |
--- a/ppapi/shared_impl/test_globals.cc |
+++ b/ppapi/shared_impl/test_globals.cc |
@@ -69,4 +69,14 @@ void TestGlobals::BroadcastLogWithSource(PP_Module module, |
const std::string& value) { |
} |
+MessageLoopShared* TestGlobals::GetCurrentMessageLoop() { |
+ return NULL; |
+} |
+ |
+bool TestGlobals::IsHostGlobals() const { |
+ // Pretend to be the host-side, for code that expects one or the other. |
+ // TODO(dmichael): just make it settable which one we're pretending to be? |
+ return true; |
+} |
+ |
} // namespace ppapi |