Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / mojo / public / tools / bindings / generators / cpp_templates / wrapper_class_declaration.tmpl
index 0e01976..3f426a5 100644 (file)
@@ -16,7 +16,7 @@ class {{struct.name}} {
 
   template <typename U>
   static {{struct.name}}Ptr From(const U& u) {
-    return mojo::TypeConverter<{{struct.name}}Ptr, U>::ConvertFrom(u);
+    return mojo::TypeConverter<{{struct.name}}Ptr, U>::Convert(u);
   }
 
   {{struct.name}}();