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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 return true; | 259 return true; |
260 | 260 |
261 v8::Context::Scope scope(v8Context); | 261 v8::Context::Scope scope(v8Context); |
262 | 262 |
263 v8::Handle<v8::Value> thisHandle = thisValue.v8Value(); | 263 v8::Handle<v8::Value> thisHandle = thisValue.v8Value(); |
264 if (thisHandle.IsEmpty()) { | 264 if (thisHandle.IsEmpty()) { |
265 if (!isScriptControllerTerminating()) | 265 if (!isScriptControllerTerminating()) |
266 CRASH(); | 266 CRASH(); |
267 return true; | 267 return true; |
268 } | 268 } |
269 ASSERT(thisHandle->isObject()); | 269 ASSERT(thisHandle->IsObject()); |
270 v8::Handle<v8::Value> paramHandle = v8::Integer::New(param, isolate); | 270 v8::Handle<v8::Value> paramHandle = v8::Integer::New(param, isolate); |
271 if (paramHandle.IsEmpty()) { | 271 if (paramHandle.IsEmpty()) { |
272 if (!isScriptControllerTerminating()) | 272 if (!isScriptControllerTerminating()) |
273 CRASH(); | 273 CRASH(); |
274 return true; | 274 return true; |
275 } | 275 } |
276 | 276 |
277 v8::Handle<v8::Value> argv[] = { | 277 v8::Handle<v8::Value> argv[] = { |
278 paramHandle | 278 paramHandle |
279 }; | 279 }; |
280 | 280 |
281 bool callbackReturnValue = false; | 281 bool callbackReturnValue = false; |
282 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>:
:Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext(), isola
te); | 282 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>:
:Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext(), isola
te); |
283 } | 283 } |
284 | 284 |
285 } // namespace WebCore | 285 } // namespace WebCore |
286 | 286 |
OLD | NEW |