Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h |
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h |
| index ef465d3d2f1007fe9d870f7f8eb88fcfcc1e3f20..3b7dff84b74b68498b627ee8662d33a648944f07 100644 |
| --- a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h |
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h |
| @@ -95,9 +95,9 @@ RawPtr<V8EventListener> V8EventListenerList::findOrCreateWrapper(v8::Local<v8::V |
| if (wrapper) |
| return wrapper; |
| - RawPtr<V8EventListener> wrapperPtr = WrapperType::create(object, isAttribute, scriptState); |
| + V8EventListener* wrapperPtr = WrapperType::create(object, isAttribute, scriptState); |
|
sof
2016/04/12 07:29:54
(nit: could just as well reuse |wrapper| here.)
|
| if (wrapperPtr) |
| - V8HiddenValue::setHiddenValue(scriptState, object, wrapperProperty, v8::External::New(isolate, wrapperPtr.get())); |
| + V8HiddenValue::setHiddenValue(scriptState, object, wrapperProperty, v8::External::New(isolate, wrapperPtr)); |
| return wrapperPtr; |
| } |