Commit 50f43981 authored by hamaji@chromium.org's avatar hamaji@chromium.org

2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>

        Unreviewed attempt to fix the broken build.

        This was introduced in http://trac.webkit.org/changeset/54182

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::performMediaPlayerAction):

git-svn-id: svn://svn.chromium.org/blink/trunk@54195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d79180bd
2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>
Unreviewed attempt to fix the broken build.
This was introduced in http://trac.webkit.org/changeset/54182
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::performMediaPlayerAction):
2010-01-27 Matt Perry <mpcomplete@chromium.org>
Reviewed by Eric Seidel.
......
......@@ -1316,9 +1316,9 @@ void WebViewImpl::performMediaPlayerAction(const WebMediaPlayerAction& action,
switch (action.type) {
case WebMediaPlayerAction::Play:
if (action.enable)
mediaElement->play();
mediaElement->play(mediaElement->processingUserGesture());
else
mediaElement->pause();
mediaElement->pause(mediaElement->processingUserGesture());
break;
case WebMediaPlayerAction::Mute:
mediaElement->setMuted(action.enable);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment