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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp

Issue 2430223006: Bindings: Rebaseline run-bindings-tests results (Closed)
Patch Set: Created 4 years, 2 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
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 // clang-format off 7 // clang-format off
8 #include "V8TestIntegerIndexed.h" 8 #include "V8TestIntegerIndexed.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); 99 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]);
100 if (!document) { 100 if (!document) {
101 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::f ailedToExecute("voidMethodDocument", "TestIntegerIndexed", "parameter 1 is not o f type 'Document'.")); 101 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::f ailedToExecute("voidMethodDocument", "TestIntegerIndexed", "parameter 1 is not o f type 'Document'."));
102 102
103 return; 103 return;
104 } 104 }
105 105
106 impl->voidMethodDocument(document); 106 impl->voidMethodDocument(document);
107 } 107 }
108 108
109 static void voidMethodDocumentMethodCallback(const v8::FunctionCallbackInfo<v8:: Value>& info) 109 void voidMethodDocumentMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
110 { 110 {
111 TestIntegerIndexedV8Internal::voidMethodDocumentMethod(info); 111 TestIntegerIndexedV8Internal::voidMethodDocumentMethod(info);
112 } 112 }
113 113
114 void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCal lbackInfo<v8::Value>& info) 114 void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCal lbackInfo<v8::Value>& info)
115 { 115 {
116 if (!name->IsString()) 116 if (!name->IsString())
117 return; 117 return;
118 const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>()) ; 118 const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>()) ;
119 119
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 { 216 {
217 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 217 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
218 } 218 }
219 219
220 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola te, v8::Local<v8::Value> value) 220 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola te, v8::Local<v8::Value> value)
221 { 221 {
222 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu e)) : nullptr; 222 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu e)) : nullptr;
223 } 223 }
224 224
225 } // namespace blink 225 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698