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

Side by Side Diff: Source/bindings/tests/results/V8Float64Array.cpp

Issue 17252002: Rebaseline bindings test results after r152351 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8TestActiveDOMObject.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 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 12 matching lines...) Expand all
23 23
24 #include "RuntimeEnabledFeatures.h" 24 #include "RuntimeEnabledFeatures.h"
25 #include "V8ArrayBufferView.h" 25 #include "V8ArrayBufferView.h"
26 #include "V8Float32Array.h" 26 #include "V8Float32Array.h"
27 #include "V8Int32Array.h" 27 #include "V8Int32Array.h"
28 #include "bindings/v8/ScriptController.h" 28 #include "bindings/v8/ScriptController.h"
29 #include "bindings/v8/V8Binding.h" 29 #include "bindings/v8/V8Binding.h"
30 #include "bindings/v8/V8DOMConfiguration.h" 30 #include "bindings/v8/V8DOMConfiguration.h"
31 #include "bindings/v8/V8DOMWrapper.h" 31 #include "bindings/v8/V8DOMWrapper.h"
32 #include "bindings/v8/V8ObjectConstructor.h" 32 #include "bindings/v8/V8ObjectConstructor.h"
33 #include "bindings/v8/custom/V8ArrayBufferCustom.h"
33 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h" 34 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h"
34 #include "core/dom/ContextFeatures.h" 35 #include "core/dom/ContextFeatures.h"
35 #include "core/dom/Document.h" 36 #include "core/dom/Document.h"
36 #include "core/dom/ExceptionCode.h" 37 #include "core/dom/ExceptionCode.h"
37 #include "core/page/Frame.h" 38 #include "core/page/Frame.h"
38 #include "wtf/GetPtr.h" 39 #include "wtf/GetPtr.h"
39 #include "wtf/RefCounted.h" 40 #include "wtf/RefCounted.h"
40 #include "wtf/RefPtr.h" 41 #include "wtf/RefPtr.h"
41 #include "wtf/UnusedParam.h" 42 #include "wtf/UnusedParam.h"
42 43
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 188
188 v8::Handle<v8::Object> V8Float64Array::createWrapper(PassRefPtr<Float64Array> im pl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 189 v8::Handle<v8::Object> V8Float64Array::createWrapper(PassRefPtr<Float64Array> im pl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
189 { 190 {
190 ASSERT(impl.get()); 191 ASSERT(impl.get());
191 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); 192 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty());
192 ASSERT(static_cast<void*>(static_cast<ArrayBufferView*>(impl.get())) == stat ic_cast<void*>(impl.get())); 193 ASSERT(static_cast<void*>(static_cast<ArrayBufferView*>(impl.get())) == stat ic_cast<void*>(impl.get()));
193 194
194 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext , &info, impl.get(), isolate); 195 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext , &info, impl.get(), isolate);
195 if (UNLIKELY(wrapper.IsEmpty())) 196 if (UNLIKELY(wrapper.IsEmpty()))
196 return wrapper; 197 return wrapper;
197 198 if (!impl->buffer()->hasDeallocationObserver()) {
199 v8::V8::AdjustAmountOfExternalAllocatedMemory(impl->buffer()->byteLength ());
200 impl->buffer()->setDeallocationObserver(V8ArrayBufferDeallocationObserve r::instance());
201 }
198 installPerContextProperties(wrapper, impl.get(), isolate); 202 installPerContextProperties(wrapper, impl.get(), isolate);
199 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent); 203 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent);
200 return wrapper; 204 return wrapper;
201 } 205 }
202 void V8Float64Array::derefObject(void* object) 206 void V8Float64Array::derefObject(void* object)
203 { 207 {
204 static_cast<Float64Array*>(object)->deref(); 208 static_cast<Float64Array*>(object)->deref();
205 } 209 }
206 210
207 } // namespace WebCore 211 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8TestActiveDOMObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698