Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / xwalk / extensions / common / xwalk_extension_server.cc
index 243dede..1350bad 100644 (file)
@@ -411,7 +411,7 @@ std::vector<std::string> RegisterExternalExtensionsInDirectory(
     // as an identifier in case you have symlinks to extensions to force it
     // load multiple times.
     (*runtime_variables)["extension_path"] =
-        base::Value::CreateStringValue(extension_path.AsUTF8Unsafe());
+        new base::StringValue(extension_path.AsUTF8Unsafe());
 
     extension->set_runtime_variables(*runtime_variables);
     if (server->permissions_delegate())