| OLD | NEW |
| 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 2280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2291 wrapper = toV8(result.get(), info.Holder(), info.GetIsolate()); | 2291 wrapper = toV8(result.get(), info.Holder(), info.GetIsolate()); |
| 2292 if (!wrapper.IsEmpty()) | 2292 if (!wrapper.IsEmpty()) |
| 2293 V8HiddenPropertyName::setNamedHiddenReference(info.Holder(), "perWor
ldReadOnlyAttribute", wrapper); | 2293 V8HiddenPropertyName::setNamedHiddenReference(info.Holder(), "perWor
ldReadOnlyAttribute", wrapper); |
| 2294 } | 2294 } |
| 2295 v8SetReturnValue(info, wrapper); | 2295 v8SetReturnValue(info, wrapper); |
| 2296 return; | 2296 return; |
| 2297 } | 2297 } |
| 2298 | 2298 |
| 2299 static void perWorldReadOnlyAttributeAttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) | 2299 static void perWorldReadOnlyAttributeAttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2300 { | 2300 { |
| 2301 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2301 TestObjV8Internal::perWorldReadOnlyAttributeAttrGetter(name, info); | 2302 TestObjV8Internal::perWorldReadOnlyAttributeAttrGetter(name, info); |
| 2303 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2302 } | 2304 } |
| 2303 | 2305 |
| 2304 static void perWorldReadOnlyAttributeAttrGetterForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2306 static void perWorldReadOnlyAttributeAttrGetterForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2305 { | 2307 { |
| 2306 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2308 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2307 RefPtr<TestObj> result = imp->perWorldReadOnlyAttribute(); | 2309 RefPtr<TestObj> result = imp->perWorldReadOnlyAttribute(); |
| 2308 v8::Handle<v8::Value> wrapper = result.get() ? v8::Handle<v8::Value>(DOMData
Store::getWrapperForMainWorld<V8TestObject>(result.get())) : v8Undefined(); | 2310 v8::Handle<v8::Value> wrapper = result.get() ? v8::Handle<v8::Value>(DOMData
Store::getWrapperForMainWorld<V8TestObject>(result.get())) : v8Undefined(); |
| 2309 if (wrapper.IsEmpty()) { | 2311 if (wrapper.IsEmpty()) { |
| 2310 wrapper = toV8(result.get(), info.Holder(), info.GetIsolate()); | 2312 wrapper = toV8(result.get(), info.Holder(), info.GetIsolate()); |
| 2311 if (!wrapper.IsEmpty()) | 2313 if (!wrapper.IsEmpty()) |
| 2312 V8HiddenPropertyName::setNamedHiddenReference(info.Holder(), "perWor
ldReadOnlyAttribute", wrapper); | 2314 V8HiddenPropertyName::setNamedHiddenReference(info.Holder(), "perWor
ldReadOnlyAttribute", wrapper); |
| 2313 } | 2315 } |
| 2314 v8SetReturnValue(info, wrapper); | 2316 v8SetReturnValue(info, wrapper); |
| 2315 return; | 2317 return; |
| 2316 } | 2318 } |
| 2317 | 2319 |
| 2318 static void perWorldReadOnlyAttributeAttrGetterCallbackForMainWorld(v8::Local<v8
::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2320 static void perWorldReadOnlyAttributeAttrGetterCallbackForMainWorld(v8::Local<v8
::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2319 { | 2321 { |
| 2322 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2320 TestObjV8Internal::perWorldReadOnlyAttributeAttrGetterForMainWorld(name, inf
o); | 2323 TestObjV8Internal::perWorldReadOnlyAttributeAttrGetterForMainWorld(name, inf
o); |
| 2324 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2321 } | 2325 } |
| 2322 | 2326 |
| 2323 static void perWorldAttributeAttrGetter(v8::Local<v8::String> name, const v8::Pr
opertyCallbackInfo<v8::Value>& info) | 2327 static void perWorldAttributeAttrGetter(v8::Local<v8::String> name, const v8::Pr
opertyCallbackInfo<v8::Value>& info) |
| 2324 { | 2328 { |
| 2325 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2329 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2326 v8SetReturnValue(info, toV8Fast(imp->perWorldAttribute(), info, imp)); | 2330 v8SetReturnValue(info, toV8Fast(imp->perWorldAttribute(), info, imp)); |
| 2327 return; | 2331 return; |
| 2328 } | 2332 } |
| 2329 | 2333 |
| 2330 static void perWorldAttributeAttrGetterCallback(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) | 2334 static void perWorldAttributeAttrGetterCallback(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) |
| 2331 { | 2335 { |
| 2336 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2332 TestObjV8Internal::perWorldAttributeAttrGetter(name, info); | 2337 TestObjV8Internal::perWorldAttributeAttrGetter(name, info); |
| 2338 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2333 } | 2339 } |
| 2334 | 2340 |
| 2335 static void perWorldAttributeAttrGetterForMainWorld(v8::Local<v8::String> name,
const v8::PropertyCallbackInfo<v8::Value>& info) | 2341 static void perWorldAttributeAttrGetterForMainWorld(v8::Local<v8::String> name,
const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2336 { | 2342 { |
| 2337 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2343 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2338 v8SetReturnValue(info, toV8FastForMainWorld(imp->perWorldAttribute(), info,
imp)); | 2344 v8SetReturnValue(info, toV8FastForMainWorld(imp->perWorldAttribute(), info,
imp)); |
| 2339 return; | 2345 return; |
| 2340 } | 2346 } |
| 2341 | 2347 |
| 2342 static void perWorldAttributeAttrGetterCallbackForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2348 static void perWorldAttributeAttrGetterCallbackForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2343 { | 2349 { |
| 2350 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2344 TestObjV8Internal::perWorldAttributeAttrGetterForMainWorld(name, info); | 2351 TestObjV8Internal::perWorldAttributeAttrGetterForMainWorld(name, info); |
| 2352 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2345 } | 2353 } |
| 2346 | 2354 |
| 2347 static void perWorldAttributeAttrSetter(v8::Local<v8::String> name, v8::Local<v8
::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2355 static void perWorldAttributeAttrSetter(v8::Local<v8::String> name, v8::Local<v8
::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2348 { | 2356 { |
| 2349 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2357 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2350 V8TRYCATCH_VOID(TestObj*, v, V8TestObject::HasInstance(value, info.GetIsolat
e(), worldType(info.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Objec
t>::Cast(value)) : 0); | 2358 V8TRYCATCH_VOID(TestObj*, v, V8TestObject::HasInstance(value, info.GetIsolat
e(), worldType(info.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Objec
t>::Cast(value)) : 0); |
| 2351 imp->setPerWorldAttribute(WTF::getPtr(v)); | 2359 imp->setPerWorldAttribute(WTF::getPtr(v)); |
| 2352 return; | 2360 return; |
| 2353 } | 2361 } |
| 2354 | 2362 |
| 2355 static void perWorldAttributeAttrSetterCallback(v8::Local<v8::String> name, v8::
Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2363 static void perWorldAttributeAttrSetterCallback(v8::Local<v8::String> name, v8::
Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2356 { | 2364 { |
| 2357 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2365 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2358 TestObjV8Internal::perWorldAttributeAttrSetter(name, value, info); | 2366 TestObjV8Internal::perWorldAttributeAttrSetter(name, value, info); |
| 2367 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2359 } | 2368 } |
| 2360 | 2369 |
| 2361 static void perWorldAttributeAttrSetterForMainWorld(v8::Local<v8::String> name,
v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2370 static void perWorldAttributeAttrSetterForMainWorld(v8::Local<v8::String> name,
v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2362 { | 2371 { |
| 2363 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2372 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2364 V8TRYCATCH_VOID(TestObj*, v, V8TestObject::HasInstance(value, info.GetIsolat
e(), worldType(info.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Objec
t>::Cast(value)) : 0); | 2373 V8TRYCATCH_VOID(TestObj*, v, V8TestObject::HasInstance(value, info.GetIsolat
e(), worldType(info.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Objec
t>::Cast(value)) : 0); |
| 2365 imp->setPerWorldAttribute(WTF::getPtr(v)); | 2374 imp->setPerWorldAttribute(WTF::getPtr(v)); |
| 2366 return; | 2375 return; |
| 2367 } | 2376 } |
| 2368 | 2377 |
| 2369 static void perWorldAttributeAttrSetterCallbackForMainWorld(v8::Local<v8::String
> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2378 static void perWorldAttributeAttrSetterCallbackForMainWorld(v8::Local<v8::String
> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2370 { | 2379 { |
| 2371 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2380 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2372 TestObjV8Internal::perWorldAttributeAttrSetterForMainWorld(name, value, info
); | 2381 TestObjV8Internal::perWorldAttributeAttrSetterForMainWorld(name, value, info
); |
| 2382 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2373 } | 2383 } |
| 2374 | 2384 |
| 2375 static void activityLoggedAttr1AttrGetter(v8::Local<v8::String> name, const v8::
PropertyCallbackInfo<v8::Value>& info) | 2385 static void activityLoggedAttr1AttrGetter(v8::Local<v8::String> name, const v8::
PropertyCallbackInfo<v8::Value>& info) |
| 2376 { | 2386 { |
| 2377 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2387 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2378 v8SetReturnValueInt(info, imp->activityLoggedAttr1()); | 2388 v8SetReturnValueInt(info, imp->activityLoggedAttr1()); |
| 2379 return; | 2389 return; |
| 2380 } | 2390 } |
| 2381 | 2391 |
| 2382 static void activityLoggedAttr1AttrGetterCallback(v8::Local<v8::String> name, co
nst v8::PropertyCallbackInfo<v8::Value>& info) | 2392 static void activityLoggedAttr1AttrGetterCallback(v8::Local<v8::String> name, co
nst v8::PropertyCallbackInfo<v8::Value>& info) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2411 | 2421 |
| 2412 static void activityLoggedAttr2AttrGetter(v8::Local<v8::String> name, const v8::
PropertyCallbackInfo<v8::Value>& info) | 2422 static void activityLoggedAttr2AttrGetter(v8::Local<v8::String> name, const v8::
PropertyCallbackInfo<v8::Value>& info) |
| 2413 { | 2423 { |
| 2414 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2424 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2415 v8SetReturnValueInt(info, imp->activityLoggedAttr2()); | 2425 v8SetReturnValueInt(info, imp->activityLoggedAttr2()); |
| 2416 return; | 2426 return; |
| 2417 } | 2427 } |
| 2418 | 2428 |
| 2419 static void activityLoggedAttr2AttrGetterCallback(v8::Local<v8::String> name, co
nst v8::PropertyCallbackInfo<v8::Value>& info) | 2429 static void activityLoggedAttr2AttrGetterCallback(v8::Local<v8::String> name, co
nst v8::PropertyCallbackInfo<v8::Value>& info) |
| 2420 { | 2430 { |
| 2431 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2421 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2432 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2422 if (contextData && contextData->activityLogger()) | 2433 if (contextData && contextData->activityLogger()) |
| 2423 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 0,
0, "Getter"); | 2434 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 0,
0, "Getter"); |
| 2424 TestObjV8Internal::activityLoggedAttr2AttrGetter(name, info); | 2435 TestObjV8Internal::activityLoggedAttr2AttrGetter(name, info); |
| 2436 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2425 } | 2437 } |
| 2426 | 2438 |
| 2427 static void activityLoggedAttr2AttrGetterForMainWorld(v8::Local<v8::String> name
, const v8::PropertyCallbackInfo<v8::Value>& info) | 2439 static void activityLoggedAttr2AttrGetterForMainWorld(v8::Local<v8::String> name
, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2428 { | 2440 { |
| 2429 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2441 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2430 v8SetReturnValueInt(info, imp->activityLoggedAttr2()); | 2442 v8SetReturnValueInt(info, imp->activityLoggedAttr2()); |
| 2431 return; | 2443 return; |
| 2432 } | 2444 } |
| 2433 | 2445 |
| 2434 static void activityLoggedAttr2AttrGetterCallbackForMainWorld(v8::Local<v8::Stri
ng> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2446 static void activityLoggedAttr2AttrGetterCallbackForMainWorld(v8::Local<v8::Stri
ng> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2435 { | 2447 { |
| 2448 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2436 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2449 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2437 if (contextData && contextData->activityLogger()) | 2450 if (contextData && contextData->activityLogger()) |
| 2438 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 0,
0, "Getter"); | 2451 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 0,
0, "Getter"); |
| 2439 TestObjV8Internal::activityLoggedAttr2AttrGetterForMainWorld(name, info); | 2452 TestObjV8Internal::activityLoggedAttr2AttrGetterForMainWorld(name, info); |
| 2453 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2440 } | 2454 } |
| 2441 | 2455 |
| 2442 static void activityLoggedAttr2AttrSetter(v8::Local<v8::String> name, v8::Local<
v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2456 static void activityLoggedAttr2AttrSetter(v8::Local<v8::String> name, v8::Local<
v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2443 { | 2457 { |
| 2444 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2458 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2445 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2459 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2446 imp->setActivityLoggedAttr2(v); | 2460 imp->setActivityLoggedAttr2(v); |
| 2447 return; | 2461 return; |
| 2448 } | 2462 } |
| 2449 | 2463 |
| 2450 static void activityLoggedAttr2AttrSetterCallback(v8::Local<v8::String> name, v8
::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2464 static void activityLoggedAttr2AttrSetterCallback(v8::Local<v8::String> name, v8
::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2451 { | 2465 { |
| 2452 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2466 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2453 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2467 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2454 if (contextData && contextData->activityLogger()) { | 2468 if (contextData && contextData->activityLogger()) { |
| 2455 v8::Handle<v8::Value> loggerArg[] = { value }; | 2469 v8::Handle<v8::Value> loggerArg[] = { value }; |
| 2456 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 1,
&loggerArg[0], "Setter"); | 2470 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 1,
&loggerArg[0], "Setter"); |
| 2457 } | 2471 } |
| 2458 TestObjV8Internal::activityLoggedAttr2AttrSetter(name, value, info); | 2472 TestObjV8Internal::activityLoggedAttr2AttrSetter(name, value, info); |
| 2473 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2459 } | 2474 } |
| 2460 | 2475 |
| 2461 static void activityLoggedAttr2AttrSetterForMainWorld(v8::Local<v8::String> name
, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2476 static void activityLoggedAttr2AttrSetterForMainWorld(v8::Local<v8::String> name
, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2462 { | 2477 { |
| 2463 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2478 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2464 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2479 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2465 imp->setActivityLoggedAttr2(v); | 2480 imp->setActivityLoggedAttr2(v); |
| 2466 return; | 2481 return; |
| 2467 } | 2482 } |
| 2468 | 2483 |
| 2469 static void activityLoggedAttr2AttrSetterCallbackForMainWorld(v8::Local<v8::Stri
ng> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info
) | 2484 static void activityLoggedAttr2AttrSetterCallbackForMainWorld(v8::Local<v8::Stri
ng> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info
) |
| 2470 { | 2485 { |
| 2471 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2486 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2472 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2487 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2473 if (contextData && contextData->activityLogger()) { | 2488 if (contextData && contextData->activityLogger()) { |
| 2474 v8::Handle<v8::Value> loggerArg[] = { value }; | 2489 v8::Handle<v8::Value> loggerArg[] = { value }; |
| 2475 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 1,
&loggerArg[0], "Setter"); | 2490 contextData->activityLogger()->log("TestObject.activityLoggedAttr2", 1,
&loggerArg[0], "Setter"); |
| 2476 } | 2491 } |
| 2477 TestObjV8Internal::activityLoggedAttr2AttrSetterForMainWorld(name, value, in
fo); | 2492 TestObjV8Internal::activityLoggedAttr2AttrSetterForMainWorld(name, value, in
fo); |
| 2493 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2478 } | 2494 } |
| 2479 | 2495 |
| 2480 static void activityLoggedInIsolatedWorldsAttrAttrGetter(v8::Local<v8::String> n
ame, const v8::PropertyCallbackInfo<v8::Value>& info) | 2496 static void activityLoggedInIsolatedWorldsAttrAttrGetter(v8::Local<v8::String> n
ame, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2481 { | 2497 { |
| 2482 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2498 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2483 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttr()); | 2499 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttr()); |
| 2484 return; | 2500 return; |
| 2485 } | 2501 } |
| 2486 | 2502 |
| 2487 static void activityLoggedInIsolatedWorldsAttrAttrGetterCallback(v8::Local<v8::S
tring> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2503 static void activityLoggedInIsolatedWorldsAttrAttrGetterCallback(v8::Local<v8::S
tring> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2488 { | 2504 { |
| 2505 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2489 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2506 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2490 if (contextData && contextData->activityLogger()) | 2507 if (contextData && contextData->activityLogger()) |
| 2491 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttr", 0, 0, "Getter"); | 2508 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttr", 0, 0, "Getter"); |
| 2492 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrGetter(name, info); | 2509 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrGetter(name, info); |
| 2510 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2493 } | 2511 } |
| 2494 | 2512 |
| 2495 static void activityLoggedInIsolatedWorldsAttrAttrGetterForMainWorld(v8::Local<v
8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2513 static void activityLoggedInIsolatedWorldsAttrAttrGetterForMainWorld(v8::Local<v
8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2496 { | 2514 { |
| 2497 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2515 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2498 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttr()); | 2516 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttr()); |
| 2499 return; | 2517 return; |
| 2500 } | 2518 } |
| 2501 | 2519 |
| 2502 static void activityLoggedInIsolatedWorldsAttrAttrGetterCallbackForMainWorld(v8:
:Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2520 static void activityLoggedInIsolatedWorldsAttrAttrGetterCallbackForMainWorld(v8:
:Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2503 { | 2521 { |
| 2522 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2504 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrGetterForMainWorld(
name, info); | 2523 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrGetterForMainWorld(
name, info); |
| 2524 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2505 } | 2525 } |
| 2506 | 2526 |
| 2507 static void activityLoggedInIsolatedWorldsAttrAttrSetter(v8::Local<v8::String> n
ame, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2527 static void activityLoggedInIsolatedWorldsAttrAttrSetter(v8::Local<v8::String> n
ame, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2508 { | 2528 { |
| 2509 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2529 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2510 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2530 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2511 imp->setActivityLoggedInIsolatedWorldsAttr(v); | 2531 imp->setActivityLoggedInIsolatedWorldsAttr(v); |
| 2512 return; | 2532 return; |
| 2513 } | 2533 } |
| 2514 | 2534 |
| 2515 static void activityLoggedInIsolatedWorldsAttrAttrSetterCallback(v8::Local<v8::S
tring> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& i
nfo) | 2535 static void activityLoggedInIsolatedWorldsAttrAttrSetterCallback(v8::Local<v8::S
tring> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& i
nfo) |
| 2516 { | 2536 { |
| 2517 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2537 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2518 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2538 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2519 if (contextData && contextData->activityLogger()) { | 2539 if (contextData && contextData->activityLogger()) { |
| 2520 v8::Handle<v8::Value> loggerArg[] = { value }; | 2540 v8::Handle<v8::Value> loggerArg[] = { value }; |
| 2521 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttr", 1, &loggerArg[0], "Setter"); | 2541 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttr", 1, &loggerArg[0], "Setter"); |
| 2522 } | 2542 } |
| 2523 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrSetter(name, value,
info); | 2543 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrSetter(name, value,
info); |
| 2544 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2524 } | 2545 } |
| 2525 | 2546 |
| 2526 static void activityLoggedInIsolatedWorldsAttrAttrSetterForMainWorld(v8::Local<v
8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void
>& info) | 2547 static void activityLoggedInIsolatedWorldsAttrAttrSetterForMainWorld(v8::Local<v
8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void
>& info) |
| 2527 { | 2548 { |
| 2528 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2549 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2529 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2550 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2530 imp->setActivityLoggedInIsolatedWorldsAttr(v); | 2551 imp->setActivityLoggedInIsolatedWorldsAttr(v); |
| 2531 return; | 2552 return; |
| 2532 } | 2553 } |
| 2533 | 2554 |
| 2534 static void activityLoggedInIsolatedWorldsAttrAttrSetterCallbackForMainWorld(v8:
:Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackI
nfo<void>& info) | 2555 static void activityLoggedInIsolatedWorldsAttrAttrSetterCallbackForMainWorld(v8:
:Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackI
nfo<void>& info) |
| 2535 { | 2556 { |
| 2536 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2557 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2537 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrSetterForMainWorld(
name, value, info); | 2558 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrAttrSetterForMainWorld(
name, value, info); |
| 2559 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2538 } | 2560 } |
| 2539 | 2561 |
| 2540 static void activityLoggedAttrSetter1AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) | 2562 static void activityLoggedAttrSetter1AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) |
| 2541 { | 2563 { |
| 2542 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2564 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2543 v8SetReturnValueInt(info, imp->activityLoggedAttrSetter1()); | 2565 v8SetReturnValueInt(info, imp->activityLoggedAttrSetter1()); |
| 2544 return; | 2566 return; |
| 2545 } | 2567 } |
| 2546 | 2568 |
| 2547 static void activityLoggedAttrSetter1AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) | 2569 static void activityLoggedAttrSetter1AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 2573 | 2595 |
| 2574 static void activityLoggedAttrSetter2AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) | 2596 static void activityLoggedAttrSetter2AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) |
| 2575 { | 2597 { |
| 2576 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2598 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2577 v8SetReturnValueInt(info, imp->activityLoggedAttrSetter2()); | 2599 v8SetReturnValueInt(info, imp->activityLoggedAttrSetter2()); |
| 2578 return; | 2600 return; |
| 2579 } | 2601 } |
| 2580 | 2602 |
| 2581 static void activityLoggedAttrSetter2AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) | 2603 static void activityLoggedAttrSetter2AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2582 { | 2604 { |
| 2605 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2583 TestObjV8Internal::activityLoggedAttrSetter2AttrGetter(name, info); | 2606 TestObjV8Internal::activityLoggedAttrSetter2AttrGetter(name, info); |
| 2607 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2584 } | 2608 } |
| 2585 | 2609 |
| 2586 static void activityLoggedAttrSetter2AttrGetterForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2610 static void activityLoggedAttrSetter2AttrGetterForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2587 { | 2611 { |
| 2588 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2612 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2589 v8SetReturnValueInt(info, imp->activityLoggedAttrSetter2()); | 2613 v8SetReturnValueInt(info, imp->activityLoggedAttrSetter2()); |
| 2590 return; | 2614 return; |
| 2591 } | 2615 } |
| 2592 | 2616 |
| 2593 static void activityLoggedAttrSetter2AttrGetterCallbackForMainWorld(v8::Local<v8
::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2617 static void activityLoggedAttrSetter2AttrGetterCallbackForMainWorld(v8::Local<v8
::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2594 { | 2618 { |
| 2619 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2595 TestObjV8Internal::activityLoggedAttrSetter2AttrGetterForMainWorld(name, inf
o); | 2620 TestObjV8Internal::activityLoggedAttrSetter2AttrGetterForMainWorld(name, inf
o); |
| 2621 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2596 } | 2622 } |
| 2597 | 2623 |
| 2598 static void activityLoggedAttrSetter2AttrSetter(v8::Local<v8::String> name, v8::
Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2624 static void activityLoggedAttrSetter2AttrSetter(v8::Local<v8::String> name, v8::
Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2599 { | 2625 { |
| 2600 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2626 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2601 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2627 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2602 imp->setActivityLoggedAttrSetter2(v); | 2628 imp->setActivityLoggedAttrSetter2(v); |
| 2603 return; | 2629 return; |
| 2604 } | 2630 } |
| 2605 | 2631 |
| 2606 static void activityLoggedAttrSetter2AttrSetterCallback(v8::Local<v8::String> na
me, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2632 static void activityLoggedAttrSetter2AttrSetterCallback(v8::Local<v8::String> na
me, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2607 { | 2633 { |
| 2608 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2634 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2609 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2635 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2610 if (contextData && contextData->activityLogger()) { | 2636 if (contextData && contextData->activityLogger()) { |
| 2611 v8::Handle<v8::Value> loggerArg[] = { value }; | 2637 v8::Handle<v8::Value> loggerArg[] = { value }; |
| 2612 contextData->activityLogger()->log("TestObject.activityLoggedAttrSetter2
", 1, &loggerArg[0], "Setter"); | 2638 contextData->activityLogger()->log("TestObject.activityLoggedAttrSetter2
", 1, &loggerArg[0], "Setter"); |
| 2613 } | 2639 } |
| 2614 TestObjV8Internal::activityLoggedAttrSetter2AttrSetter(name, value, info); | 2640 TestObjV8Internal::activityLoggedAttrSetter2AttrSetter(name, value, info); |
| 2641 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2615 } | 2642 } |
| 2616 | 2643 |
| 2617 static void activityLoggedAttrSetter2AttrSetterForMainWorld(v8::Local<v8::String
> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2644 static void activityLoggedAttrSetter2AttrSetterForMainWorld(v8::Local<v8::String
> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2618 { | 2645 { |
| 2619 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2646 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2620 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2647 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2621 imp->setActivityLoggedAttrSetter2(v); | 2648 imp->setActivityLoggedAttrSetter2(v); |
| 2622 return; | 2649 return; |
| 2623 } | 2650 } |
| 2624 | 2651 |
| 2625 static void activityLoggedAttrSetter2AttrSetterCallbackForMainWorld(v8::Local<v8
::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>
& info) | 2652 static void activityLoggedAttrSetter2AttrSetterCallbackForMainWorld(v8::Local<v8
::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>
& info) |
| 2626 { | 2653 { |
| 2627 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2654 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2628 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2655 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2629 if (contextData && contextData->activityLogger()) { | 2656 if (contextData && contextData->activityLogger()) { |
| 2630 v8::Handle<v8::Value> loggerArg[] = { value }; | 2657 v8::Handle<v8::Value> loggerArg[] = { value }; |
| 2631 contextData->activityLogger()->log("TestObject.activityLoggedAttrSetter2
", 1, &loggerArg[0], "Setter"); | 2658 contextData->activityLogger()->log("TestObject.activityLoggedAttrSetter2
", 1, &loggerArg[0], "Setter"); |
| 2632 } | 2659 } |
| 2633 TestObjV8Internal::activityLoggedAttrSetter2AttrSetterForMainWorld(name, val
ue, info); | 2660 TestObjV8Internal::activityLoggedAttrSetter2AttrSetterForMainWorld(name, val
ue, info); |
| 2661 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2634 } | 2662 } |
| 2635 | 2663 |
| 2636 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetter(v8::Local<v8::Str
ing> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2664 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetter(v8::Local<v8::Str
ing> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2637 { | 2665 { |
| 2638 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2666 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2639 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrSetter()); | 2667 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrSetter()); |
| 2640 return; | 2668 return; |
| 2641 } | 2669 } |
| 2642 | 2670 |
| 2643 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetterCallback(v8::Local
<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2671 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetterCallback(v8::Local
<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2644 { | 2672 { |
| 2673 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2645 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrGetter(name,
info); | 2674 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrGetter(name,
info); |
| 2675 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2646 } | 2676 } |
| 2647 | 2677 |
| 2648 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetterForMainWorld(v8::L
ocal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2678 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetterForMainWorld(v8::L
ocal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2649 { | 2679 { |
| 2650 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2680 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2651 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrSetter()); | 2681 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrSetter()); |
| 2652 return; | 2682 return; |
| 2653 } | 2683 } |
| 2654 | 2684 |
| 2655 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetterCallbackForMainWor
ld(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2685 static void activityLoggedInIsolatedWorldsAttrSetterAttrGetterCallbackForMainWor
ld(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2656 { | 2686 { |
| 2687 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2657 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrGetterForMain
World(name, info); | 2688 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrGetterForMain
World(name, info); |
| 2689 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2658 } | 2690 } |
| 2659 | 2691 |
| 2660 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetter(v8::Local<v8::Str
ing> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& inf
o) | 2692 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetter(v8::Local<v8::Str
ing> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& inf
o) |
| 2661 { | 2693 { |
| 2662 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2694 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2663 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2695 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2664 imp->setActivityLoggedInIsolatedWorldsAttrSetter(v); | 2696 imp->setActivityLoggedInIsolatedWorldsAttrSetter(v); |
| 2665 return; | 2697 return; |
| 2666 } | 2698 } |
| 2667 | 2699 |
| 2668 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetterCallback(v8::Local
<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<vo
id>& info) | 2700 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetterCallback(v8::Local
<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<vo
id>& info) |
| 2669 { | 2701 { |
| 2670 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2702 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2671 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2703 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2672 if (contextData && contextData->activityLogger()) { | 2704 if (contextData && contextData->activityLogger()) { |
| 2673 v8::Handle<v8::Value> loggerArg[] = { value }; | 2705 v8::Handle<v8::Value> loggerArg[] = { value }; |
| 2674 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttrSetter", 1, &loggerArg[0], "Setter"); | 2706 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttrSetter", 1, &loggerArg[0], "Setter"); |
| 2675 } | 2707 } |
| 2676 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrSetter(name,
value, info); | 2708 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrSetter(name,
value, info); |
| 2709 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2677 } | 2710 } |
| 2678 | 2711 |
| 2679 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetterForMainWorld(v8::L
ocal<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInf
o<void>& info) | 2712 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetterForMainWorld(v8::L
ocal<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInf
o<void>& info) |
| 2680 { | 2713 { |
| 2681 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2714 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2682 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2715 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2683 imp->setActivityLoggedInIsolatedWorldsAttrSetter(v); | 2716 imp->setActivityLoggedInIsolatedWorldsAttrSetter(v); |
| 2684 return; | 2717 return; |
| 2685 } | 2718 } |
| 2686 | 2719 |
| 2687 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetterCallbackForMainWor
ld(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCal
lbackInfo<void>& info) | 2720 static void activityLoggedInIsolatedWorldsAttrSetterAttrSetterCallbackForMainWor
ld(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCal
lbackInfo<void>& info) |
| 2688 { | 2721 { |
| 2689 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2722 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2690 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrSetterForMain
World(name, value, info); | 2723 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrSetterAttrSetterForMain
World(name, value, info); |
| 2724 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2691 } | 2725 } |
| 2692 | 2726 |
| 2693 static void activityLoggedAttrGetter1AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) | 2727 static void activityLoggedAttrGetter1AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) |
| 2694 { | 2728 { |
| 2695 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2729 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2696 v8SetReturnValueInt(info, imp->activityLoggedAttrGetter1()); | 2730 v8SetReturnValueInt(info, imp->activityLoggedAttrGetter1()); |
| 2697 return; | 2731 return; |
| 2698 } | 2732 } |
| 2699 | 2733 |
| 2700 static void activityLoggedAttrGetter1AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) | 2734 static void activityLoggedAttrGetter1AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 2724 | 2758 |
| 2725 static void activityLoggedAttrGetter2AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) | 2759 static void activityLoggedAttrGetter2AttrGetter(v8::Local<v8::String> name, cons
t v8::PropertyCallbackInfo<v8::Value>& info) |
| 2726 { | 2760 { |
| 2727 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2761 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2728 v8SetReturnValueInt(info, imp->activityLoggedAttrGetter2()); | 2762 v8SetReturnValueInt(info, imp->activityLoggedAttrGetter2()); |
| 2729 return; | 2763 return; |
| 2730 } | 2764 } |
| 2731 | 2765 |
| 2732 static void activityLoggedAttrGetter2AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) | 2766 static void activityLoggedAttrGetter2AttrGetterCallback(v8::Local<v8::String> na
me, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2733 { | 2767 { |
| 2768 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2734 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2769 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2735 if (contextData && contextData->activityLogger()) | 2770 if (contextData && contextData->activityLogger()) |
| 2736 contextData->activityLogger()->log("TestObject.activityLoggedAttrGetter2
", 0, 0, "Getter"); | 2771 contextData->activityLogger()->log("TestObject.activityLoggedAttrGetter2
", 0, 0, "Getter"); |
| 2737 TestObjV8Internal::activityLoggedAttrGetter2AttrGetter(name, info); | 2772 TestObjV8Internal::activityLoggedAttrGetter2AttrGetter(name, info); |
| 2773 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2738 } | 2774 } |
| 2739 | 2775 |
| 2740 static void activityLoggedAttrGetter2AttrGetterForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2776 static void activityLoggedAttrGetter2AttrGetterForMainWorld(v8::Local<v8::String
> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2741 { | 2777 { |
| 2742 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2778 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2743 v8SetReturnValueInt(info, imp->activityLoggedAttrGetter2()); | 2779 v8SetReturnValueInt(info, imp->activityLoggedAttrGetter2()); |
| 2744 return; | 2780 return; |
| 2745 } | 2781 } |
| 2746 | 2782 |
| 2747 static void activityLoggedAttrGetter2AttrGetterCallbackForMainWorld(v8::Local<v8
::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2783 static void activityLoggedAttrGetter2AttrGetterCallbackForMainWorld(v8::Local<v8
::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2748 { | 2784 { |
| 2785 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2749 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2786 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2750 if (contextData && contextData->activityLogger()) | 2787 if (contextData && contextData->activityLogger()) |
| 2751 contextData->activityLogger()->log("TestObject.activityLoggedAttrGetter2
", 0, 0, "Getter"); | 2788 contextData->activityLogger()->log("TestObject.activityLoggedAttrGetter2
", 0, 0, "Getter"); |
| 2752 TestObjV8Internal::activityLoggedAttrGetter2AttrGetterForMainWorld(name, inf
o); | 2789 TestObjV8Internal::activityLoggedAttrGetter2AttrGetterForMainWorld(name, inf
o); |
| 2790 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2753 } | 2791 } |
| 2754 | 2792 |
| 2755 static void activityLoggedAttrGetter2AttrSetter(v8::Local<v8::String> name, v8::
Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2793 static void activityLoggedAttrGetter2AttrSetter(v8::Local<v8::String> name, v8::
Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2756 { | 2794 { |
| 2757 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2795 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2758 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2796 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2759 imp->setActivityLoggedAttrGetter2(v); | 2797 imp->setActivityLoggedAttrGetter2(v); |
| 2760 return; | 2798 return; |
| 2761 } | 2799 } |
| 2762 | 2800 |
| 2763 static void activityLoggedAttrGetter2AttrSetterCallback(v8::Local<v8::String> na
me, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2801 static void activityLoggedAttrGetter2AttrSetterCallback(v8::Local<v8::String> na
me, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2764 { | 2802 { |
| 2765 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2803 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2766 TestObjV8Internal::activityLoggedAttrGetter2AttrSetter(name, value, info); | 2804 TestObjV8Internal::activityLoggedAttrGetter2AttrSetter(name, value, info); |
| 2805 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2767 } | 2806 } |
| 2768 | 2807 |
| 2769 static void activityLoggedAttrGetter2AttrSetterForMainWorld(v8::Local<v8::String
> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 2808 static void activityLoggedAttrGetter2AttrSetterForMainWorld(v8::Local<v8::String
> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 2770 { | 2809 { |
| 2771 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2810 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2772 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2811 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2773 imp->setActivityLoggedAttrGetter2(v); | 2812 imp->setActivityLoggedAttrGetter2(v); |
| 2774 return; | 2813 return; |
| 2775 } | 2814 } |
| 2776 | 2815 |
| 2777 static void activityLoggedAttrGetter2AttrSetterCallbackForMainWorld(v8::Local<v8
::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>
& info) | 2816 static void activityLoggedAttrGetter2AttrSetterCallbackForMainWorld(v8::Local<v8
::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>
& info) |
| 2778 { | 2817 { |
| 2779 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2818 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2780 TestObjV8Internal::activityLoggedAttrGetter2AttrSetterForMainWorld(name, val
ue, info); | 2819 TestObjV8Internal::activityLoggedAttrGetter2AttrSetterForMainWorld(name, val
ue, info); |
| 2820 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2781 } | 2821 } |
| 2782 | 2822 |
| 2783 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetter(v8::Local<v8::Str
ing> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2823 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetter(v8::Local<v8::Str
ing> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2784 { | 2824 { |
| 2785 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2825 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2786 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrGetter()); | 2826 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrGetter()); |
| 2787 return; | 2827 return; |
| 2788 } | 2828 } |
| 2789 | 2829 |
| 2790 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetterCallback(v8::Local
<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2830 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetterCallback(v8::Local
<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2791 { | 2831 { |
| 2832 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2792 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2833 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
| 2793 if (contextData && contextData->activityLogger()) | 2834 if (contextData && contextData->activityLogger()) |
| 2794 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttrGetter", 0, 0, "Getter"); | 2835 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldsAttrGetter", 0, 0, "Getter"); |
| 2795 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrGetter(name,
info); | 2836 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrGetter(name,
info); |
| 2837 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2796 } | 2838 } |
| 2797 | 2839 |
| 2798 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetterForMainWorld(v8::L
ocal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2840 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetterForMainWorld(v8::L
ocal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2799 { | 2841 { |
| 2800 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2842 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2801 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrGetter()); | 2843 v8SetReturnValueInt(info, imp->activityLoggedInIsolatedWorldsAttrGetter()); |
| 2802 return; | 2844 return; |
| 2803 } | 2845 } |
| 2804 | 2846 |
| 2805 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetterCallbackForMainWor
ld(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2847 static void activityLoggedInIsolatedWorldsAttrGetterAttrGetterCallbackForMainWor
ld(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2806 { | 2848 { |
| 2849 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 2807 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrGetterForMain
World(name, info); | 2850 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrGetterForMain
World(name, info); |
| 2851 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2808 } | 2852 } |
| 2809 | 2853 |
| 2810 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetter(v8::Local<v8::Str
ing> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& inf
o) | 2854 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetter(v8::Local<v8::Str
ing> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& inf
o) |
| 2811 { | 2855 { |
| 2812 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2856 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2813 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2857 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2814 imp->setActivityLoggedInIsolatedWorldsAttrGetter(v); | 2858 imp->setActivityLoggedInIsolatedWorldsAttrGetter(v); |
| 2815 return; | 2859 return; |
| 2816 } | 2860 } |
| 2817 | 2861 |
| 2818 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetterCallback(v8::Local
<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<vo
id>& info) | 2862 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetterCallback(v8::Local
<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<vo
id>& info) |
| 2819 { | 2863 { |
| 2820 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2864 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2821 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrSetter(name,
value, info); | 2865 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrSetter(name,
value, info); |
| 2866 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2822 } | 2867 } |
| 2823 | 2868 |
| 2824 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetterForMainWorld(v8::L
ocal<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInf
o<void>& info) | 2869 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetterForMainWorld(v8::L
ocal<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInf
o<void>& info) |
| 2825 { | 2870 { |
| 2826 TestObj* imp = V8TestObject::toNative(info.Holder()); | 2871 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 2827 V8TRYCATCH_VOID(int, v, toInt32(value)); | 2872 V8TRYCATCH_VOID(int, v, toInt32(value)); |
| 2828 imp->setActivityLoggedInIsolatedWorldsAttrGetter(v); | 2873 imp->setActivityLoggedInIsolatedWorldsAttrGetter(v); |
| 2829 return; | 2874 return; |
| 2830 } | 2875 } |
| 2831 | 2876 |
| 2832 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetterCallbackForMainWor
ld(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCal
lbackInfo<void>& info) | 2877 static void activityLoggedInIsolatedWorldsAttrGetterAttrSetterCallbackForMainWor
ld(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCal
lbackInfo<void>& info) |
| 2833 { | 2878 { |
| 2834 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2879 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 2835 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrSetterForMain
World(name, value, info); | 2880 TestObjV8Internal::activityLoggedInIsolatedWorldsAttrGetterAttrSetterForMain
World(name, value, info); |
| 2881 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 2836 } | 2882 } |
| 2837 | 2883 |
| 2838 static void deprecatedStaticReadOnlyAttrAttrGetter(v8::Local<v8::String> name, c
onst v8::PropertyCallbackInfo<v8::Value>& info) | 2884 static void deprecatedStaticReadOnlyAttrAttrGetter(v8::Local<v8::String> name, c
onst v8::PropertyCallbackInfo<v8::Value>& info) |
| 2839 { | 2885 { |
| 2840 v8SetReturnValueInt(info, TestObj::deprecatedStaticReadOnlyAttr()); | 2886 v8SetReturnValueInt(info, TestObj::deprecatedStaticReadOnlyAttr()); |
| 2841 return; | 2887 return; |
| 2842 } | 2888 } |
| 2843 | 2889 |
| 2844 static void deprecatedStaticReadOnlyAttrAttrGetterCallback(v8::Local<v8::String>
name, const v8::PropertyCallbackInfo<v8::Value>& info) | 2890 static void deprecatedStaticReadOnlyAttrAttrGetterCallback(v8::Local<v8::String>
name, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 2845 { | 2891 { |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3236 return; | 3282 return; |
| 3237 | 3283 |
| 3238 if (!window->document()) | 3284 if (!window->document()) |
| 3239 return; | 3285 return; |
| 3240 } | 3286 } |
| 3241 | 3287 |
| 3242 RefPtr<EventListener> listener = V8EventListenerList::getEventListener(args[
1], false, ListenerFindOrCreate); | 3288 RefPtr<EventListener> listener = V8EventListenerList::getEventListener(args[
1], false, ListenerFindOrCreate); |
| 3243 if (listener) { | 3289 if (listener) { |
| 3244 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, st
ringResource, args[0]); | 3290 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, st
ringResource, args[0]); |
| 3245 impl->addEventListener(stringResource, listener, args[2]->BooleanValue()
); | 3291 impl->addEventListener(stringResource, listener, args[2]->BooleanValue()
); |
| 3246 createHiddenDependency(args.Holder(), args[1], V8TestObject::eventListen
erCacheIndex, args.GetIsolate()); | 3292 if (!impl->toNode()) |
| 3293 createHiddenDependency(args.Holder(), args[1], V8TestObject::eventLi
stenerCacheIndex, args.GetIsolate()); |
| 3247 } | 3294 } |
| 3248 } | 3295 } |
| 3249 | 3296 |
| 3250 static void addEventListenerMethodCallback(const v8::FunctionCallbackInfo<v8::Va
lue>& args) | 3297 static void addEventListenerMethodCallback(const v8::FunctionCallbackInfo<v8::Va
lue>& args) |
| 3251 { | 3298 { |
| 3252 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 3299 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 3253 TestObjV8Internal::addEventListenerMethod(args); | 3300 TestObjV8Internal::addEventListenerMethod(args); |
| 3254 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 3301 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 3255 } | 3302 } |
| 3256 | 3303 |
| 3257 static void removeEventListenerMethod(const v8::FunctionCallbackInfo<v8::Value>&
args) | 3304 static void removeEventListenerMethod(const v8::FunctionCallbackInfo<v8::Value>&
args) |
| 3258 { | 3305 { |
| 3259 EventTarget* impl = V8TestObject::toNative(args.Holder()); | 3306 EventTarget* impl = V8TestObject::toNative(args.Holder()); |
| 3260 if (DOMWindow* window = impl->toDOMWindow()) { | 3307 if (DOMWindow* window = impl->toDOMWindow()) { |
| 3261 if (!BindingSecurity::shouldAllowAccessToFrame(window->frame())) | 3308 if (!BindingSecurity::shouldAllowAccessToFrame(window->frame())) |
| 3262 return; | 3309 return; |
| 3263 | 3310 |
| 3264 if (!window->document()) | 3311 if (!window->document()) |
| 3265 return; | 3312 return; |
| 3266 } | 3313 } |
| 3267 | 3314 |
| 3268 RefPtr<EventListener> listener = V8EventListenerList::getEventListener(args[
1], false, ListenerFindOnly); | 3315 RefPtr<EventListener> listener = V8EventListenerList::getEventListener(args[
1], false, ListenerFindOnly); |
| 3269 if (listener) { | 3316 if (listener) { |
| 3270 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, st
ringResource, args[0]); | 3317 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, st
ringResource, args[0]); |
| 3271 impl->removeEventListener(stringResource, listener.get(), args[2]->Boole
anValue()); | 3318 impl->removeEventListener(stringResource, listener.get(), args[2]->Boole
anValue()); |
| 3272 removeHiddenDependency(args.Holder(), args[1], V8TestObject::eventListen
erCacheIndex, args.GetIsolate()); | 3319 if (!impl->toNode()) |
| 3320 removeHiddenDependency(args.Holder(), args[1], V8TestObject::eventLi
stenerCacheIndex, args.GetIsolate()); |
| 3273 } | 3321 } |
| 3274 } | 3322 } |
| 3275 | 3323 |
| 3276 static void removeEventListenerMethodCallback(const v8::FunctionCallbackInfo<v8:
:Value>& args) | 3324 static void removeEventListenerMethodCallback(const v8::FunctionCallbackInfo<v8:
:Value>& args) |
| 3277 { | 3325 { |
| 3278 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 3326 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 3279 TestObjV8Internal::removeEventListenerMethod(args); | 3327 TestObjV8Internal::removeEventListenerMethod(args); |
| 3280 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 3328 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 3281 } | 3329 } |
| 3282 | 3330 |
| (...skipping 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4724 static void perWorldMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::
Value>& args) | 4772 static void perWorldMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::
Value>& args) |
| 4725 { | 4773 { |
| 4726 TestObj* imp = V8TestObject::toNative(args.Holder()); | 4774 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 4727 imp->perWorldMethod(); | 4775 imp->perWorldMethod(); |
| 4728 | 4776 |
| 4729 return; | 4777 return; |
| 4730 } | 4778 } |
| 4731 | 4779 |
| 4732 static void perWorldMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& args) | 4780 static void perWorldMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& args) |
| 4733 { | 4781 { |
| 4782 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4734 TestObjV8Internal::perWorldMethodMethod(args); | 4783 TestObjV8Internal::perWorldMethodMethod(args); |
| 4784 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4735 } | 4785 } |
| 4736 | 4786 |
| 4737 static void perWorldMethodMethodCallbackForMainWorld(const v8::FunctionCallbackI
nfo<v8::Value>& args) | 4787 static void perWorldMethodMethodCallbackForMainWorld(const v8::FunctionCallbackI
nfo<v8::Value>& args) |
| 4738 { | 4788 { |
| 4789 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4739 TestObjV8Internal::perWorldMethodMethodForMainWorld(args); | 4790 TestObjV8Internal::perWorldMethodMethodForMainWorld(args); |
| 4791 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4740 } | 4792 } |
| 4741 | 4793 |
| 4742 static void overloadedPerWorldMethod1Method(const v8::FunctionCallbackInfo<v8::V
alue>& args) | 4794 static void overloadedPerWorldMethod1Method(const v8::FunctionCallbackInfo<v8::V
alue>& args) |
| 4743 { | 4795 { |
| 4744 if (args.Length() < 1) { | 4796 if (args.Length() < 1) { |
| 4745 throwNotEnoughArgumentsError(args.GetIsolate()); | 4797 throwNotEnoughArgumentsError(args.GetIsolate()); |
| 4746 return; | 4798 return; |
| 4747 } | 4799 } |
| 4748 TestObj* imp = V8TestObject::toNative(args.Holder()); | 4800 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 4749 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); | 4801 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4822 } | 4874 } |
| 4823 if (args.Length() < 1) { | 4875 if (args.Length() < 1) { |
| 4824 throwNotEnoughArgumentsError(args.GetIsolate()); | 4876 throwNotEnoughArgumentsError(args.GetIsolate()); |
| 4825 return; | 4877 return; |
| 4826 } | 4878 } |
| 4827 throwTypeError(0, args.GetIsolate()); | 4879 throwTypeError(0, args.GetIsolate()); |
| 4828 } | 4880 } |
| 4829 | 4881 |
| 4830 static void overloadedPerWorldMethodMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& args) | 4882 static void overloadedPerWorldMethodMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& args) |
| 4831 { | 4883 { |
| 4884 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4832 TestObjV8Internal::overloadedPerWorldMethodMethod(args); | 4885 TestObjV8Internal::overloadedPerWorldMethodMethod(args); |
| 4886 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4833 } | 4887 } |
| 4834 | 4888 |
| 4835 static void overloadedPerWorldMethodMethodCallbackForMainWorld(const v8::Functio
nCallbackInfo<v8::Value>& args) | 4889 static void overloadedPerWorldMethodMethodCallbackForMainWorld(const v8::Functio
nCallbackInfo<v8::Value>& args) |
| 4836 { | 4890 { |
| 4891 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4837 TestObjV8Internal::overloadedPerWorldMethodMethodForMainWorld(args); | 4892 TestObjV8Internal::overloadedPerWorldMethodMethodForMainWorld(args); |
| 4893 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4838 } | 4894 } |
| 4839 | 4895 |
| 4840 static void activityLoggedMethod1Method(const v8::FunctionCallbackInfo<v8::Value
>& args) | 4896 static void activityLoggedMethod1Method(const v8::FunctionCallbackInfo<v8::Value
>& args) |
| 4841 { | 4897 { |
| 4842 if (args.Length() < 1) { | 4898 if (args.Length() < 1) { |
| 4843 throwNotEnoughArgumentsError(args.GetIsolate()); | 4899 throwNotEnoughArgumentsError(args.GetIsolate()); |
| 4844 return; | 4900 return; |
| 4845 } | 4901 } |
| 4846 TestObj* imp = V8TestObject::toNative(args.Holder()); | 4902 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 4847 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); | 4903 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4883 } | 4939 } |
| 4884 TestObj* imp = V8TestObject::toNative(args.Holder()); | 4940 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 4885 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); | 4941 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); |
| 4886 imp->activityLoggedMethod2(longArg); | 4942 imp->activityLoggedMethod2(longArg); |
| 4887 | 4943 |
| 4888 return; | 4944 return; |
| 4889 } | 4945 } |
| 4890 | 4946 |
| 4891 static void activityLoggedMethod2MethodCallback(const v8::FunctionCallbackInfo<v
8::Value>& args) | 4947 static void activityLoggedMethod2MethodCallback(const v8::FunctionCallbackInfo<v
8::Value>& args) |
| 4892 { | 4948 { |
| 4949 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4893 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); | 4950 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); |
| 4894 if (contextData && contextData->activityLogger()) { | 4951 if (contextData && contextData->activityLogger()) { |
| 4895 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); | 4952 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); |
| 4896 contextData->activityLogger()->log("TestObject.activityLoggedMethod2", a
rgs.Length(), loggerArgs.data(), "Method"); | 4953 contextData->activityLogger()->log("TestObject.activityLoggedMethod2", a
rgs.Length(), loggerArgs.data(), "Method"); |
| 4897 } | 4954 } |
| 4898 TestObjV8Internal::activityLoggedMethod2Method(args); | 4955 TestObjV8Internal::activityLoggedMethod2Method(args); |
| 4956 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4899 } | 4957 } |
| 4900 | 4958 |
| 4901 static void activityLoggedMethod2MethodCallbackForMainWorld(const v8::FunctionCa
llbackInfo<v8::Value>& args) | 4959 static void activityLoggedMethod2MethodCallbackForMainWorld(const v8::FunctionCa
llbackInfo<v8::Value>& args) |
| 4902 { | 4960 { |
| 4961 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4903 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); | 4962 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); |
| 4904 if (contextData && contextData->activityLogger()) { | 4963 if (contextData && contextData->activityLogger()) { |
| 4905 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); | 4964 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); |
| 4906 contextData->activityLogger()->log("TestObject.activityLoggedMethod2", a
rgs.Length(), loggerArgs.data(), "Method"); | 4965 contextData->activityLogger()->log("TestObject.activityLoggedMethod2", a
rgs.Length(), loggerArgs.data(), "Method"); |
| 4907 } | 4966 } |
| 4908 TestObjV8Internal::activityLoggedMethod2MethodForMainWorld(args); | 4967 TestObjV8Internal::activityLoggedMethod2MethodForMainWorld(args); |
| 4968 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4909 } | 4969 } |
| 4910 | 4970 |
| 4911 static void activityLoggedInIsolatedWorldMethodMethod(const v8::FunctionCallback
Info<v8::Value>& args) | 4971 static void activityLoggedInIsolatedWorldMethodMethod(const v8::FunctionCallback
Info<v8::Value>& args) |
| 4912 { | 4972 { |
| 4913 if (args.Length() < 1) { | 4973 if (args.Length() < 1) { |
| 4914 throwNotEnoughArgumentsError(args.GetIsolate()); | 4974 throwNotEnoughArgumentsError(args.GetIsolate()); |
| 4915 return; | 4975 return; |
| 4916 } | 4976 } |
| 4917 TestObj* imp = V8TestObject::toNative(args.Holder()); | 4977 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 4918 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); | 4978 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4929 } | 4989 } |
| 4930 TestObj* imp = V8TestObject::toNative(args.Holder()); | 4990 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 4931 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); | 4991 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); |
| 4932 imp->activityLoggedInIsolatedWorldMethod(longArg); | 4992 imp->activityLoggedInIsolatedWorldMethod(longArg); |
| 4933 | 4993 |
| 4934 return; | 4994 return; |
| 4935 } | 4995 } |
| 4936 | 4996 |
| 4937 static void activityLoggedInIsolatedWorldMethodMethodCallback(const v8::Function
CallbackInfo<v8::Value>& args) | 4997 static void activityLoggedInIsolatedWorldMethodMethodCallback(const v8::Function
CallbackInfo<v8::Value>& args) |
| 4938 { | 4998 { |
| 4999 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4939 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); | 5000 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); |
| 4940 if (contextData && contextData->activityLogger()) { | 5001 if (contextData && contextData->activityLogger()) { |
| 4941 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); | 5002 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); |
| 4942 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldMethod", args.Length(), loggerArgs.data(), "Method"); | 5003 contextData->activityLogger()->log("TestObject.activityLoggedInIsolatedW
orldMethod", args.Length(), loggerArgs.data(), "Method"); |
| 4943 } | 5004 } |
| 4944 TestObjV8Internal::activityLoggedInIsolatedWorldMethodMethod(args); | 5005 TestObjV8Internal::activityLoggedInIsolatedWorldMethodMethod(args); |
| 5006 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4945 } | 5007 } |
| 4946 | 5008 |
| 4947 static void activityLoggedInIsolatedWorldMethodMethodCallbackForMainWorld(const
v8::FunctionCallbackInfo<v8::Value>& args) | 5009 static void activityLoggedInIsolatedWorldMethodMethodCallbackForMainWorld(const
v8::FunctionCallbackInfo<v8::Value>& args) |
| 4948 { | 5010 { |
| 5011 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 4949 TestObjV8Internal::activityLoggedInIsolatedWorldMethodMethodForMainWorld(arg
s); | 5012 TestObjV8Internal::activityLoggedInIsolatedWorldMethodMethodForMainWorld(arg
s); |
| 5013 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 4950 } | 5014 } |
| 4951 | 5015 |
| 4952 static void overloadedActivityLoggedMethod1Method(const v8::FunctionCallbackInfo
<v8::Value>& args) | 5016 static void overloadedActivityLoggedMethod1Method(const v8::FunctionCallbackInfo
<v8::Value>& args) |
| 4953 { | 5017 { |
| 4954 if (args.Length() < 1) { | 5018 if (args.Length() < 1) { |
| 4955 throwNotEnoughArgumentsError(args.GetIsolate()); | 5019 throwNotEnoughArgumentsError(args.GetIsolate()); |
| 4956 return; | 5020 return; |
| 4957 } | 5021 } |
| 4958 TestObj* imp = V8TestObject::toNative(args.Holder()); | 5022 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 4959 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); | 5023 V8TRYCATCH_VOID(int, longArg, toInt32(args[0])); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5032 } | 5096 } |
| 5033 if (args.Length() < 1) { | 5097 if (args.Length() < 1) { |
| 5034 throwNotEnoughArgumentsError(args.GetIsolate()); | 5098 throwNotEnoughArgumentsError(args.GetIsolate()); |
| 5035 return; | 5099 return; |
| 5036 } | 5100 } |
| 5037 throwTypeError(0, args.GetIsolate()); | 5101 throwTypeError(0, args.GetIsolate()); |
| 5038 } | 5102 } |
| 5039 | 5103 |
| 5040 static void overloadedActivityLoggedMethodMethodCallback(const v8::FunctionCallb
ackInfo<v8::Value>& args) | 5104 static void overloadedActivityLoggedMethodMethodCallback(const v8::FunctionCallb
ackInfo<v8::Value>& args) |
| 5041 { | 5105 { |
| 5106 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 5042 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); | 5107 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); |
| 5043 if (contextData && contextData->activityLogger()) { | 5108 if (contextData && contextData->activityLogger()) { |
| 5044 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); | 5109 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); |
| 5045 contextData->activityLogger()->log("TestObject.overloadedActivityLoggedM
ethod", args.Length(), loggerArgs.data(), "Method"); | 5110 contextData->activityLogger()->log("TestObject.overloadedActivityLoggedM
ethod", args.Length(), loggerArgs.data(), "Method"); |
| 5046 } | 5111 } |
| 5047 TestObjV8Internal::overloadedActivityLoggedMethodMethod(args); | 5112 TestObjV8Internal::overloadedActivityLoggedMethodMethod(args); |
| 5113 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 5048 } | 5114 } |
| 5049 | 5115 |
| 5050 static void overloadedActivityLoggedMethodMethodCallbackForMainWorld(const v8::F
unctionCallbackInfo<v8::Value>& args) | 5116 static void overloadedActivityLoggedMethodMethodCallbackForMainWorld(const v8::F
unctionCallbackInfo<v8::Value>& args) |
| 5051 { | 5117 { |
| 5118 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 5052 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); | 5119 V8PerContextData* contextData = V8PerContextData::from(args.GetIsolate()->Ge
tCurrentContext()); |
| 5053 if (contextData && contextData->activityLogger()) { | 5120 if (contextData && contextData->activityLogger()) { |
| 5054 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); | 5121 Vector<v8::Handle<v8::Value> > loggerArgs = toVectorOfArguments(args); |
| 5055 contextData->activityLogger()->log("TestObject.overloadedActivityLoggedM
ethod", args.Length(), loggerArgs.data(), "Method"); | 5122 contextData->activityLogger()->log("TestObject.overloadedActivityLoggedM
ethod", args.Length(), loggerArgs.data(), "Method"); |
| 5056 } | 5123 } |
| 5057 TestObjV8Internal::overloadedActivityLoggedMethodMethodForMainWorld(args); | 5124 TestObjV8Internal::overloadedActivityLoggedMethodMethodForMainWorld(args); |
| 5125 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 5058 } | 5126 } |
| 5059 | 5127 |
| 5060 static void deprecatedMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& ar
gs) | 5128 static void deprecatedMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& ar
gs) |
| 5061 { | 5129 { |
| 5062 TestObj* imp = V8TestObject::toNative(args.Holder()); | 5130 TestObj* imp = V8TestObject::toNative(args.Holder()); |
| 5063 imp->deprecatedMethod(); | 5131 imp->deprecatedMethod(); |
| 5064 | 5132 |
| 5065 return; | 5133 return; |
| 5066 } | 5134 } |
| 5067 | 5135 |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5693 installPerContextProperties(wrapper, impl.get(), isolate); | 5761 installPerContextProperties(wrapper, impl.get(), isolate); |
| 5694 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); | 5762 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); |
| 5695 return wrapper; | 5763 return wrapper; |
| 5696 } | 5764 } |
| 5697 void V8TestObject::derefObject(void* object) | 5765 void V8TestObject::derefObject(void* object) |
| 5698 { | 5766 { |
| 5699 fromInternalPointer(object)->deref(); | 5767 fromInternalPointer(object)->deref(); |
| 5700 } | 5768 } |
| 5701 | 5769 |
| 5702 } // namespace WebCore | 5770 } // namespace WebCore |
| OLD | NEW |