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

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

Issue 177073004: Oilpan: move core/workers to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 2215 matching lines...) Expand 10 before | Expand all | Expand 10 after
2226 static void messagePortArrayAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 2226 static void messagePortArrayAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
2227 { 2227 {
2228 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2228 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2229 TestObjectV8Internal::messagePortArrayAttributeGetter(info); 2229 TestObjectV8Internal::messagePortArrayAttributeGetter(info);
2230 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2230 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2231 } 2231 }
2232 2232
2233 static void messagePortArrayAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) 2233 static void messagePortArrayAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
2234 { 2234 {
2235 TestObject* imp = V8TestObject::toNative(info.Holder()); 2235 TestObject* imp = V8TestObject::toNative(info.Holder());
2236 V8TRYCATCH_VOID(Vector<RefPtr<MessagePort> >, cppValue, (toRefPtrNativeArray <MessagePort, V8MessagePort>(jsValue, 0, info.GetIsolate()))); 2236 V8TRYCATCH_VOID(Vector<RefPtrWillBeRawPtr<MessagePort> >, cppValue, (toRefPt rNativeArray<MessagePort, V8MessagePort>(jsValue, 0, info.GetIsolate())));
haraken 2014/02/24 13:28:36 Why do we observe a change to bindings/tests/resul
2237 imp->setMessagePortArray(cppValue); 2237 imp->setMessagePortArray(cppValue);
2238 } 2238 }
2239 2239
2240 static void messagePortArrayAttributeSetterCallback(v8::Local<v8::String>, v8::L ocal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) 2240 static void messagePortArrayAttributeSetterCallback(v8::Local<v8::String>, v8::L ocal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
2241 { 2241 {
2242 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 2242 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2243 TestObjectV8Internal::messagePortArrayAttributeSetter(jsValue, info); 2243 TestObjectV8Internal::messagePortArrayAttributeSetter(jsValue, info);
2244 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2244 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2245 } 2245 }
2246 2246
(...skipping 3360 matching lines...) Expand 10 before | Expand all | Expand 10 after
5607 fromInternalPointer(object)->deref(); 5607 fromInternalPointer(object)->deref();
5608 } 5608 }
5609 5609
5610 template<> 5610 template<>
5611 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 5611 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
5612 { 5612 {
5613 return toV8(impl, creationContext, isolate); 5613 return toV8(impl, creationContext, isolate);
5614 } 5614 }
5615 5615
5616 } // namespace WebCore 5616 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/v8/WorkerScriptController.cpp » ('j') | Source/bindings/v8/WorkerScriptController.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698