Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / scripts / unstable / v8_callback_interface.py
index 2e310d1..4f95fab 100644 (file)
@@ -49,6 +49,8 @@ CALLBACK_INTERFACE_CPP_INCLUDES = set([
     'bindings/v8/V8Callback.h',
     'core/dom/ExecutionContext.h',
     'wtf/Assertions.h',
+    'wtf/GetPtr.h',  # FIXME: remove if can eliminate WTF::getPtr
+    'wtf/RefPtr.h',
 ])
 
 
@@ -57,7 +59,7 @@ def cpp_to_v8_conversion(idl_type, name):
     # as toV8 then implicitly uses the current context, which causes leaks
     # between isolate worlds if a different context should be used.
     cpp_value_to_v8_value = v8_types.cpp_value_to_v8_value(idl_type, name,
-        isolate='isolate', creation_context='v8::Handle<v8::Object>()')
+        isolate='m_isolate', creation_context='v8::Handle<v8::Object>()')
     return 'v8::Handle<v8::Value> {name}Handle = {cpp_to_v8};'.format(
         name=name, cpp_to_v8=cpp_value_to_v8_value)