| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 return true; | 76 return true; |
| 77 } | 77 } |
| 78 {% endfor %} | 78 {% endfor %} |
| 79 {% if method.arguments %} | 79 {% if method.arguments %} |
| 80 v8::Handle<v8::Value> argv[] = { {{method.handles | join(', ')}} }; | 80 v8::Handle<v8::Value> argv[] = { {{method.handles | join(', ')}} }; |
| 81 {% else %} | 81 {% else %} |
| 82 v8::Handle<v8::Value> *argv = 0; | 82 v8::Handle<v8::Value> *argv = 0; |
| 83 {% endif %} | 83 {% endif %} |
| 84 | 84 |
| 85 bool callbackReturnValue = false; | 85 bool callbackReturnValue = false; |
| 86 return !invokeCallback(m_callback.newLocal(isolate), {{method.arguments | le
ngth}}, argv, callbackReturnValue, scriptExecutionContext()); | 86 return !invokeCallback(m_callback.newLocal(isolate), {{method.arguments | le
ngth}}, argv, callbackReturnValue, scriptExecutionContext(), isolate); |
| 87 } | 87 } |
| 88 | 88 |
| 89 {% endif %} | 89 {% endif %} |
| 90 {% endfor %}{# for method in methods #} | 90 {% endfor %}{# for method in methods #} |
| 91 } // namespace WebCore | 91 } // namespace WebCore |
| 92 | 92 |
| 93 {% if conditional_string %} | 93 {% if conditional_string %} |
| 94 #endif // {{conditional_string}} | 94 #endif // {{conditional_string}} |
| 95 {% endif %} | 95 {% endif %} |
| OLD | NEW |