| OLD | NEW |
| 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 5583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5594 | 5594 |
| 5595 installPerContextEnabledProperties(wrapper, impl.get(), isolate); | 5595 installPerContextEnabledProperties(wrapper, impl.get(), isolate); |
| 5596 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &wrapperTypeInf
o, wrapper, isolate, WrapperConfiguration::Independent); | 5596 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &wrapperTypeInf
o, wrapper, isolate, WrapperConfiguration::Independent); |
| 5597 return wrapper; | 5597 return wrapper; |
| 5598 } | 5598 } |
| 5599 | 5599 |
| 5600 void V8TestObject::derefObject(void* object) | 5600 void V8TestObject::derefObject(void* object) |
| 5601 { | 5601 { |
| 5602 fromInternalPointer(object)->deref(); | 5602 fromInternalPointer(object)->deref(); |
| 5603 } | 5603 } |
| 5604 |
| 5604 template<> | 5605 template<> |
| 5605 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate* isolate) | 5606 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate* isolate) |
| 5606 { | 5607 { |
| 5607 return toV8(impl, creationContext, isolate); | 5608 return toV8(impl, creationContext, isolate); |
| 5608 } | 5609 } |
| 5609 | 5610 |
| 5610 } // namespace WebCore | 5611 } // namespace WebCore |
| OLD | NEW |