OLD | NEW |
1 /* | 1 /* |
2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
9 | 9 |
10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 return true; | 230 return true; |
231 | 231 |
232 v8::Context::Scope scope(v8Context); | 232 v8::Context::Scope scope(v8Context); |
233 | 233 |
234 v8::Handle<v8::Value> thisHandle = thisValue.v8Value(); | 234 v8::Handle<v8::Value> thisHandle = thisValue.v8Value(); |
235 if (thisHandle.IsEmpty()) { | 235 if (thisHandle.IsEmpty()) { |
236 if (!isScriptControllerTerminating()) | 236 if (!isScriptControllerTerminating()) |
237 CRASH(); | 237 CRASH(); |
238 return true; | 238 return true; |
239 } | 239 } |
240 ASSERT(thisHandle->isObject()); | 240 ASSERT(thisHandle->IsObject()); |
241 v8::Handle<v8::Value> paramHandle = v8::Integer::New(param, isolate); | 241 v8::Handle<v8::Value> paramHandle = v8::Integer::New(param, isolate); |
242 if (paramHandle.IsEmpty()) { | 242 if (paramHandle.IsEmpty()) { |
243 if (!isScriptControllerTerminating()) | 243 if (!isScriptControllerTerminating()) |
244 CRASH(); | 244 CRASH(); |
245 return true; | 245 return true; |
246 } | 246 } |
247 | 247 |
248 v8::Handle<v8::Value> argv[] = { | 248 v8::Handle<v8::Value> argv[] = { |
249 paramHandle | 249 paramHandle |
250 }; | 250 }; |
251 | 251 |
252 bool callbackReturnValue = false; | 252 bool callbackReturnValue = false; |
253 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>:
:Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext()); | 253 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>:
:Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext()); |
254 } | 254 } |
255 | 255 |
256 } // namespace WebCore | 256 } // namespace WebCore |
257 | 257 |
OLD | NEW |