Upstream version 11.39.256.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / browser / application_system_linux.cc
index 84ba841..e8f0130 100644 (file)
 namespace xwalk {
 namespace application {
 
-ApplicationSystemLinux::ApplicationSystemLinux(RuntimeContext* runtime_context)
-    : ApplicationSystem(runtime_context) {
-  if (XWalkRunner::GetInstance()->is_running_as_service()) {
+ApplicationSystemLinux::ApplicationSystemLinux(XWalkBrowserContext* context)
+    : ApplicationSystem(context) {
+#if defined(SHARED_PROCESS_MODE)
     service_provider_.reset(
         new ApplicationServiceProviderLinux(application_service(),
-                                            application_storage(),
                                             dbus_manager().session_bus()));
-  }
+#endif
 }
 
 ApplicationSystemLinux::~ApplicationSystemLinux() {}