Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / tools / gn / functions.cc
index c68eda5..0d60d68 100644 (file)
@@ -251,7 +251,7 @@ Value RunConfig(const FunctionCallNode* function,
     *err = Err(function, "Can't define a config in this context.");
     return Value();
   }
-  collector->push_back(new scoped_ptr<Item>(config.PassAs<Item>()));
+  collector->push_back(config.release());
 
   return Value();
 }