Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index a79c698484072414f1953b3cd1c6778c9d08d245..62307c75035e5b1358ffab4c1ed6c5e0be149766 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -3134,7 +3134,7 @@ void WebViewImpl::performMediaPlayerAction(const WebMediaPlayerAction& action, |
mediaElement->setLoop(action.enable); |
break; |
case WebMediaPlayerAction::Controls: |
- mediaElement->setControls(action.enable); |
+ mediaElement->setBooleanAttribute(HTMLNames::controlsAttr, action.enable); |
break; |
default: |
ASSERT_NOT_REACHED(); |