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

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

Issue 695773002: 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/templates/methods.cpp ('k') | Source/core/dom/DOMArrayBuffer.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 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 "V8TestInterfaceNotScriptWrappable.h" 8 #include "V8TestInterfaceNotScriptWrappable.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 v8::Handle<v8::Object> V8TestInterfaceNotScriptWrappable::createWrapper(PassRefP tr<TestInterfaceNotScriptWrappable> impl, v8::Handle<v8::Object> creationContext , v8::Isolate* isolate) 134 v8::Handle<v8::Object> V8TestInterfaceNotScriptWrappable::createWrapper(PassRefP tr<TestInterfaceNotScriptWrappable> impl, v8::Handle<v8::Object> creationContext , v8::Isolate* isolate)
135 { 135 {
136 ASSERT(impl); 136 ASSERT(impl);
137 ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceNotScriptWrappable>(imp l.get(), isolate)); 137 ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceNotScriptWrappable>(imp l.get(), isolate));
138 138
139 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext , &wrapperTypeInfo, impl->toScriptWrappableBase(), isolate); 139 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext , &wrapperTypeInfo, impl->toScriptWrappableBase(), isolate);
140 if (UNLIKELY(wrapper.IsEmpty())) 140 if (UNLIKELY(wrapper.IsEmpty()))
141 return wrapper; 141 return wrapper;
142 142
143 installConditionallyEnabledProperties(wrapper, isolate); 143 installConditionallyEnabledProperties(wrapper, isolate);
144 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceNotScriptWrappable>( impl, &wrapperTypeInfo, wrapper, isolate); 144 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceNotScriptWrappable>( isolate, impl, &wrapperTypeInfo, wrapper);
145 return wrapper; 145 return wrapper;
146 } 146 }
147 147
148 void V8TestInterfaceNotScriptWrappable::refObject(ScriptWrappableBase* scriptWra ppableBase) 148 void V8TestInterfaceNotScriptWrappable::refObject(ScriptWrappableBase* scriptWra ppableBase)
149 { 149 {
150 scriptWrappableBase->toImpl<TestInterfaceNotScriptWrappable>()->ref(); 150 scriptWrappableBase->toImpl<TestInterfaceNotScriptWrappable>()->ref();
151 } 151 }
152 152
153 void V8TestInterfaceNotScriptWrappable::derefObject(ScriptWrappableBase* scriptW rappableBase) 153 void V8TestInterfaceNotScriptWrappable::derefObject(ScriptWrappableBase* scriptW rappableBase)
154 { 154 {
155 scriptWrappableBase->toImpl<TestInterfaceNotScriptWrappable>()->deref(); 155 scriptWrappableBase->toImpl<TestInterfaceNotScriptWrappable>()->deref();
156 } 156 }
157 157
158 template<> 158 template<>
159 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNotScriptWrappable* impl, v8::Ha ndle<v8::Object> creationContext, v8::Isolate* isolate) 159 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNotScriptWrappable* impl, v8::Ha ndle<v8::Object> creationContext, v8::Isolate* isolate)
160 { 160 {
161 return toV8(impl, creationContext, isolate); 161 return toV8(impl, creationContext, isolate);
162 } 162 }
163 163
164 } // namespace blink 164 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/core/dom/DOMArrayBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698