Index: content/child/blink_platform_impl.cc |
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
index aa9951d14bd30f5ab86a8ffbac2039ca87ae1ff7..17db19f1de624783793a050d73fca666b3e8d48f 100644 |
--- a/content/child/blink_platform_impl.cc |
+++ b/content/child/blink_platform_impl.cc |
@@ -49,6 +49,7 @@ |
#include "content/child/web_url_request_util.h" |
#include "content/child/worker_thread_registry.h" |
#include "content/public/common/content_client.h" |
+#include "content/public/common/service_manager_connection.h" |
#include "net/base/net_errors.h" |
#include "third_party/WebKit/public/platform/WebData.h" |
#include "third_party/WebKit/public/platform/WebFloatPoint.h" |
@@ -790,6 +791,14 @@ WebFallbackThemeEngine* BlinkPlatformImpl::fallbackThemeEngine() { |
return &fallback_theme_engine_; |
} |
+service_manager::Connector* BlinkPlatformImpl::serviceConnector() { |
+ if (!ChildThreadImpl::current()) |
+ return nullptr; |
+ return ChildThreadImpl::current() |
+ ->GetServiceManagerConnection() |
+ ->GetConnector(); |
+} |
+ |
blink::Platform::FileHandle BlinkPlatformImpl::databaseOpenFile( |
const blink::WebString& vfs_file_name, int desired_flags) { |
#if defined(OS_WIN) |