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

Side by Side Diff: Source/bindings/tests/results/core/V8TestObject.cpp

Issue 686103005: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "bindings/core/v8/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 6754 matching lines...) Expand 10 before | Expand all | Expand 10 after
6765 6765
6766 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) 6766 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info)
6767 { 6767 {
6768 if (UNLIKELY(info.Length() < 1)) { 6768 if (UNLIKELY(info.Length() < 1)) {
6769 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("v oidMethodXPathNSResolverArg", "TestObject", 1, info.Length(), info.GetIsolate()) , info.GetIsolate()); 6769 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("v oidMethodXPathNSResolverArg", "TestObject", 1, info.Length(), info.GetIsolate()) , info.GetIsolate());
6770 return; 6770 return;
6771 } 6771 }
6772 TestObject* impl = V8TestObject::toImpl(info.Holder()); 6772 TestObject* impl = V8TestObject::toImpl(info.Holder());
6773 RefPtrWillBeRawPtr<XPathNSResolver> xPathNSResolverArg; 6773 RefPtrWillBeRawPtr<XPathNSResolver> xPathNSResolverArg;
6774 { 6774 {
6775 xPathNSResolverArg = toXPathNSResolver(info[0], info.GetIsolate()); 6775 xPathNSResolverArg = toXPathNSResolver(info.GetIsolate(), info[0]);
6776 } 6776 }
6777 impl->voidMethodXPathNSResolverArg(xPathNSResolverArg.release()); 6777 impl->voidMethodXPathNSResolverArg(xPathNSResolverArg.release());
6778 } 6778 }
6779 6779
6780 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) 6780 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info)
6781 { 6781 {
6782 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 6782 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
6783 TestObjectV8Internal::voidMethodXPathNSResolverArgMethod(info); 6783 TestObjectV8Internal::voidMethodXPathNSResolverArgMethod(info);
6784 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 6784 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
6785 } 6785 }
(...skipping 4387 matching lines...) Expand 10 before | Expand all | Expand 10 after
11173 return false; 11173 return false;
11174 11174
11175 ScriptState::Scope scope(scriptState); 11175 ScriptState::Scope scope(scriptState);
11176 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate()); 11176 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate());
11177 11177
11178 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; 11178 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ;
11179 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); 11179 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue));
11180 } 11180 }
11181 11181
11182 } // namespace blink 11182 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698