Index: Source/bindings/v8/custom/V8HTMLMediaElementCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLMediaElementCustom.cpp b/Source/bindings/v8/custom/V8HTMLMediaElementCustom.cpp |
index b296595c16a9711e10df8ec7e10e41d0a8da5214..14740f957caebc2c022efd6ee7c722e0e00da5f6 100644 |
--- a/Source/bindings/v8/custom/V8HTMLMediaElementCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLMediaElementCustom.cpp |
@@ -44,7 +44,7 @@ void V8HTMLMediaElement::controllerAttrSetterCustom(v8::Local<v8::String>, v8::L |
// 4.8.10.11.2 Media controllers: controller attribute. |
// On setting, it must first remove the element's mediagroup attribute, if any, |
- HTMLMediaElement* imp = V8HTMLMediaElement::toNative(info.Holder()); |
+ Handle<HTMLMediaElement> imp = adoptRawResult(V8HTMLMediaElement::toNative(info.Holder())); |
imp->setMediaGroup(String()); |
// and then set the current media controller to the given value. |
imp->setController(controller); |