27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
|
From 9d69c357ca97785eee385b14942a27ec2a680ede Mon Sep 17 00:00:00 2001
|
||
|
From: Konstantin Tokarev <annulen@yandex.ru>
|
||
|
Date: Fri, 20 May 2016 13:59:05 +0300
|
||
|
Subject: [PATCH 5/9] Added missing break statement.
|
||
|
|
||
|
Change-Id: I90bc4a7c65dd70206fd250dcfa81dfac02f8ba74
|
||
|
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
||
|
---
|
||
|
Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp b/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp
|
||
|
index d1a7f6c..554ab89 100644
|
||
|
--- a/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp
|
||
|
+++ b/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp
|
||
|
@@ -1179,6 +1179,7 @@ void QWebPageAdapter::triggerAction(QWebPageAdapter::MenuAction action, QWebHitT
|
||
|
case ToggleMediaPlayPause:
|
||
|
if (HTMLMediaElement* mediaElt = mediaElement(hitTestResult->innerNonSharedNode))
|
||
|
mediaElt->togglePlayState();
|
||
|
+ break;
|
||
|
case ToggleMediaMute:
|
||
|
if (HTMLMediaElement* mediaElt = mediaElement(hitTestResult->innerNonSharedNode))
|
||
|
mediaElt->setMuted(!mediaElt->muted());
|
||
|
--
|
||
|
2.7.4
|
||
|
|