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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 2042943002: Replace info.This() with info.Holder() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.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 "V8TestInterface5.h" 7 #include "V8TestInterface5.h"
8 8
9 #include "bindings/core/v8/ExceptionState.h" 9 #include "bindings/core/v8/ExceptionState.h"
10 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 { 587 {
588 if (!info[0]->IsFunction()) { 588 if (!info[0]->IsFunction()) {
589 exceptionState.throwTypeError("The callback provided as parameter 1 is not a function."); 589 exceptionState.throwTypeError("The callback provided as parameter 1 is not a function.");
590 exceptionState.throwIfNeeded(); 590 exceptionState.throwIfNeeded();
591 return; 591 return;
592 } 592 }
593 callback = ScriptValue(ScriptState::current(info.GetIsolate()), info[0]) ; 593 callback = ScriptValue(ScriptState::current(info.GetIsolate()), info[0]) ;
594 thisArg = ScriptValue(ScriptState::current(info.GetIsolate()), info[1]); 594 thisArg = ScriptValue(ScriptState::current(info.GetIsolate()), info[1]);
595 } 595 }
596 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); 596 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
597 impl->forEachForBinding(scriptState, ScriptValue(scriptState, info.This()), callback, thisArg, exceptionState); 597 impl->forEachForBinding(scriptState, ScriptValue(scriptState, info.Holder()) , callback, thisArg, exceptionState);
598 if (exceptionState.hadException()) { 598 if (exceptionState.hadException()) {
599 exceptionState.throwIfNeeded(); 599 exceptionState.throwIfNeeded();
600 return; 600 return;
601 } 601 }
602 } 602 }
603 603
604 static void forEachMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& inf o) 604 static void forEachMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& inf o)
605 { 605 {
606 TestInterface5ImplementationV8Internal::forEachMethod(info); 606 TestInterface5ImplementationV8Internal::forEachMethod(info);
607 } 607 }
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet hodMethodConfiguration); 922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet hodMethodConfiguration);
923 } 923 }
924 } 924 }
925 925
926 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O bject> wrapper) 926 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O bject> wrapper)
927 { 927 {
928 return toImpl(wrapper); 928 return toImpl(wrapper);
929 } 929 }
930 930
931 } // namespace blink 931 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698