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

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

Issue 302263004: Oilpan: Move [WillBeGarbageCollected] from Node to EventTarget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 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 | « Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp ('k') | Source/core/dom/Node.idl » ('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 "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "HTMLNames.h" 10 #include "HTMLNames.h"
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1273 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1274 TestObjectV8Internal::readonlyEventTargetAttributeAttributeGetter(info); 1274 TestObjectV8Internal::readonlyEventTargetAttributeAttributeGetter(info);
1275 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1275 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1276 } 1276 }
1277 1277
1278 static void readonlyEventTargetOrNullAttributeAttributeGetter(const v8::Property CallbackInfo<v8::Value>& info) 1278 static void readonlyEventTargetOrNullAttributeAttributeGetter(const v8::Property CallbackInfo<v8::Value>& info)
1279 { 1279 {
1280 v8::Handle<v8::Object> holder = info.Holder(); 1280 v8::Handle<v8::Object> holder = info.Holder();
1281 TestObject* impl = V8TestObject::toNative(holder); 1281 TestObject* impl = V8TestObject::toNative(holder);
1282 bool isNull = false; 1282 bool isNull = false;
1283 RefPtr<EventTarget> v8Value = impl->readonlyEventTargetOrNullAttribute(isNul l); 1283 RefPtrWillBeRawPtr<EventTarget> v8Value = impl->readonlyEventTargetOrNullAtt ribute(isNull);
1284 if (isNull) { 1284 if (isNull) {
1285 v8SetReturnValueNull(info); 1285 v8SetReturnValueNull(info);
1286 return; 1286 return;
1287 } 1287 }
1288 v8SetReturnValueFast(info, WTF::getPtr(v8Value.release()), impl); 1288 v8SetReturnValueFast(info, WTF::getPtr(v8Value.release()), impl);
1289 } 1289 }
1290 1290
1291 static void readonlyEventTargetOrNullAttributeAttributeGetterCallback(v8::Local< v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 1291 static void readonlyEventTargetOrNullAttributeAttributeGetterCallback(v8::Local< v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1292 { 1292 {
1293 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1293 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
(...skipping 8169 matching lines...) Expand 10 before | Expand all | Expand 10 after
9463 fromInternalPointer(object)->deref(); 9463 fromInternalPointer(object)->deref();
9464 } 9464 }
9465 9465
9466 template<> 9466 template<>
9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
9468 { 9468 {
9469 return toV8(impl, creationContext, isolate); 9469 return toV8(impl, creationContext, isolate);
9470 } 9470 }
9471 9471
9472 } // namespace WebCore 9472 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp ('k') | Source/core/dom/Node.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698