Title: [196773] trunk/Source/WebCore
Revision
196773
Author
[email protected]
Date
2016-02-18 12:59:26 -0800 (Thu, 18 Feb 2016)

Log Message

Fix unused-const-variable warning on non Cocoa platforms
https://bugs.webkit.org/show_bug.cgi?id=154394

Reviewed by Michael Catanzaro.

* html/HTMLPlugInImageElement.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (196772 => 196773)


--- trunk/Source/WebCore/ChangeLog	2016-02-18 20:29:35 UTC (rev 196772)
+++ trunk/Source/WebCore/ChangeLog	2016-02-18 20:59:26 UTC (rev 196773)
@@ -1,3 +1,12 @@
+2016-02-18  Csaba Osztrogonác  <[email protected]>
+
+        Fix unused-const-variable warning on non Cocoa platforms
+        https://bugs.webkit.org/show_bug.cgi?id=154394
+
+        Reviewed by Michael Catanzaro.
+
+        * html/HTMLPlugInImageElement.cpp:
+
 2016-02-18  Brady Eidson  <[email protected]>
 
         Modern IDB: Implement client->server operations in WK2.

Modified: trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp (196772 => 196773)


--- trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp	2016-02-18 20:29:35 UTC (rev 196772)
+++ trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp	2016-02-18 20:59:26 UTC (rev 196773)
@@ -70,7 +70,10 @@
 
 // This delay should not exceed the snapshot delay in PluginView.cpp
 static const auto simulatedMouseClickTimerDelay = std::chrono::milliseconds { 750 };
+
+#if PLATFORM(COCOA)
 static const auto removeSnapshotTimerDelay = std::chrono::milliseconds { 1500 };
+#endif
 
 static const String titleText(Page* page, String mimeType)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to