CTTE: RenderMedia and RenderVideo are never anonymous.
[WebKit-https.git] / Source / WebCore / html / HTMLVideoElement.cpp
index 2ac689e..27d7a20 100644 (file)
@@ -71,7 +71,7 @@ bool HTMLVideoElement::rendererIsNeeded(const RenderStyle& style)
 #if !ENABLE(PLUGIN_PROXY_FOR_VIDEO)
 RenderObject* HTMLVideoElement::createRenderer(RenderArena* arena, RenderStyle*)
 {
-    return new (arena) RenderVideo(this);
+    return new (arena) RenderVideo(*this);
 }
 #endif