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

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

Issue 23601032: Pass isolate to ScopedPersistent constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update deprecated generator as well 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
« no previous file with comments | « no previous file | Source/bindings/templates/callback_interface.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4578 matching lines...) Expand 10 before | Expand all | Expand 10 after
4589 my $v8ClassName = GetV8ClassName($interface); 4589 my $v8ClassName = GetV8ClassName($interface);
4590 4590
4591 AddToImplIncludes("core/dom/ScriptExecutionContext.h"); 4591 AddToImplIncludes("core/dom/ScriptExecutionContext.h");
4592 AddToImplIncludes("bindings/v8/V8Binding.h"); 4592 AddToImplIncludes("bindings/v8/V8Binding.h");
4593 AddToImplIncludes("bindings/v8/V8Callback.h"); 4593 AddToImplIncludes("bindings/v8/V8Callback.h");
4594 AddToImplIncludes("wtf/Assertions.h"); 4594 AddToImplIncludes("wtf/Assertions.h");
4595 4595
4596 $implementation{nameSpaceWebCore}->add(<<END); 4596 $implementation{nameSpaceWebCore}->add(<<END);
4597 ${v8ClassName}::${v8ClassName}(v8::Handle<v8::Object> callback, ScriptExecutionC ontext* context) 4597 ${v8ClassName}::${v8ClassName}(v8::Handle<v8::Object> callback, ScriptExecutionC ontext* context)
4598 : ActiveDOMCallback(context) 4598 : ActiveDOMCallback(context)
4599 , m_callback(callback) 4599 , m_callback(isolateForScriptExecutionContext(context), callback)
haraken 2013/09/16 12:01:27 Didn't we rename this to toIsolate() ?
do-not-use 2013/09/16 12:08:30 This hasn't landed yet. I'll rebase whatever patch
4600 , m_world(DOMWrapperWorld::current()) 4600 , m_world(DOMWrapperWorld::current())
4601 { 4601 {
4602 } 4602 }
4603 4603
4604 END 4604 END
4605 4605
4606 $implementation{nameSpaceWebCore}->add(<<END); 4606 $implementation{nameSpaceWebCore}->add(<<END);
4607 ${v8ClassName}::~${v8ClassName}() 4607 ${v8ClassName}::~${v8ClassName}()
4608 { 4608 {
4609 } 4609 }
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after
6010 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { 6010 if ($currentInterface->extendedAttributes->{$extendedAttribute}) {
6011 $found = 1; 6011 $found = 1;
6012 } 6012 }
6013 return 1 if $found; 6013 return 1 if $found;
6014 }, 0); 6014 }, 0);
6015 6015
6016 return $found; 6016 return $found;
6017 } 6017 }
6018 6018
6019 1; 6019 1;
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/templates/callback_interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698