Title: [220995] trunk/Source/WebKit
- Revision
- 220995
- Author
- ape...@igalia.com
- Date
- 2017-08-21 18:14:15 -0700 (Mon, 21 Aug 2017)
Log Message
[WPE][GTK] Unused variables in UserMediaProcessManager.cpp
https://bugs.webkit.org/show_bug.cgi?id=175799
Reviewed by Alex Christensen.
The code which uses the "audioExtensionPath" and "videoExtensionPath" variables is guarded
with "#if ENABLE(SANDBOX_EXTENSIONS)”, so do the same for the variables themselves.
* UIProcess/UserMediaProcessManager.cpp: Add missing guards.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (220994 => 220995)
--- trunk/Source/WebKit/ChangeLog 2017-08-22 01:07:32 UTC (rev 220994)
+++ trunk/Source/WebKit/ChangeLog 2017-08-22 01:14:15 UTC (rev 220995)
@@ -1,3 +1,15 @@
+2017-08-21 Adrian Perez de Castro <ape...@igalia.com>
+
+ [WPE][GTK] Unused variables in UserMediaProcessManager.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=175799
+
+ Reviewed by Alex Christensen.
+
+ The code which uses the "audioExtensionPath" and "videoExtensionPath" variables is guarded
+ with "#if ENABLE(SANDBOX_EXTENSIONS)”, so do the same for the variables themselves.
+
+ * UIProcess/UserMediaProcessManager.cpp: Add missing guards.
+
2017-08-21 Yoshiaki Jitsukawa <yoshiaki.jitsuk...@sony.com>
[PAL] Move spi/mac directory into PAL
Modified: trunk/Source/WebKit/UIProcess/UserMediaProcessManager.cpp (220994 => 220995)
--- trunk/Source/WebKit/UIProcess/UserMediaProcessManager.cpp 2017-08-22 01:07:32 UTC (rev 220994)
+++ trunk/Source/WebKit/UIProcess/UserMediaProcessManager.cpp 2017-08-22 01:14:15 UTC (rev 220995)
@@ -30,8 +30,10 @@
namespace WebKit {
+#if ENABLE(SANDBOX_EXTENSIONS)
static const char* const audioExtensionPath = "com.apple.webkit.microphone";
static const char* const videoExtensionPath = "com.apple.webkit.camera";
+#endif
class ProcessState {
public:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes