Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: Source/bindings/scripts/deprecated_code_generator_v8.pm

Issue 23470004: Have handleMaxRecursionDepthExceeded() take an isolate in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
5 # Copyright (C) 2006 Apple Computer, Inc. 5 # Copyright (C) 2006 Apple Computer, Inc.
6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc.
7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved.
9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 # Copyright (C) 2012 Ericsson AB. All rights reserved. 10 # Copyright (C) 2012 Ericsson AB. All rights reserved.
(...skipping 4666 matching lines...) Expand 10 before | Expand all | Expand 10 after
4677 } 4677 }
4678 4678
4679 if (scalar(@args) > 0) { 4679 if (scalar(@args) > 0) {
4680 $code .= "\n v8::Handle<v8::Value> argv[] = {\n"; 4680 $code .= "\n v8::Handle<v8::Value> argv[] = {\n";
4681 $code .= join(",\n", @args); 4681 $code .= join(",\n", @args);
4682 $code .= "\n };\n\n"; 4682 $code .= "\n };\n\n";
4683 } else { 4683 } else {
4684 $code .= "\n v8::Handle<v8::Value> *argv = 0;\n\n"; 4684 $code .= "\n v8::Handle<v8::Value> *argv = 0;\n\n";
4685 } 4685 }
4686 $code .= " bool callbackReturnValue = false;\n"; 4686 $code .= " bool callbackReturnValue = false;\n";
4687 $code .= " return !invokeCallback(m_callback.newLocal(isolate), $ {thisObjectHandle}" . scalar(@args) . ", argv, callbackReturnValue, scriptExecut ionContext());\n"; 4687 $code .= " return !invokeCallback(m_callback.newLocal(isolate), $ {thisObjectHandle}" . scalar(@args) . ", argv, callbackReturnValue, scriptExecut ionContext(), isolate);\n";
4688 $code .= "}\n"; 4688 $code .= "}\n";
4689 $implementation{nameSpaceWebCore}->add($code); 4689 $implementation{nameSpaceWebCore}->add($code);
4690 } 4690 }
4691 } 4691 }
4692 } 4692 }
4693 4693
4694 sub BaseInterfaceName 4694 sub BaseInterfaceName
4695 { 4695 {
4696 my $interface = shift; 4696 my $interface = shift;
4697 4697
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after
5998 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { 5998 if ($currentInterface->extendedAttributes->{$extendedAttribute}) {
5999 $found = 1; 5999 $found = 1;
6000 } 6000 }
6001 return 1 if $found; 6001 return 1 if $found;
6002 }, 0); 6002 }, 0);
6003 6003
6004 return $found; 6004 return $found;
6005 } 6005 }
6006 6006
6007 1; 6007 1;
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/templates/callback_interface.cpp » ('j') | Source/bindings/v8/V8ScriptRunner.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698