Upstream version 7.36.153.0
[platform/framework/web/crosswalk.git] / src / xwalk / extensions / test / external_extension_multi_process.cc
index 98017e8..f554653 100644 (file)
@@ -125,7 +125,7 @@ IN_PROC_BROWSER_TEST_F(ExternalExtensionMultiProcessTest,
   EXPECT_EQ(1, CountRegisterExtensions());
 
   Runtime* new_runtime = Runtime::CreateWithDefaultWindow(
-      runtime()->runtime_context(), url, runtime_registry());
+      GetRuntimeContext(), url, runtime_registry());
   EXPECT_EQ(new_runtime, WaitForSingleNewRuntime());
   EXPECT_NE(runtime(), new_runtime);
   content::RunAllPendingInMessageLoop();