Title: [241047] trunk/Source/WebCore
- Revision
- 241047
- Author
- d...@apple.com
- Date
- 2019-02-06 13:48:01 -0800 (Wed, 06 Feb 2019)
Log Message
Fix potential build error in GPUDevice
https://bugs.webkit.org/show_bug.cgi?id=194359
Reviewed by Joseph Pecoraro.
Add an UNUSED_PARAM for non-macOS platforms.
* platform/graphics/gpu/cocoa/GPUDeviceMetal.mm:
(WebCore::GPUDevice::create):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (241046 => 241047)
--- trunk/Source/WebCore/ChangeLog 2019-02-06 21:44:17 UTC (rev 241046)
+++ trunk/Source/WebCore/ChangeLog 2019-02-06 21:48:01 UTC (rev 241047)
@@ -1,3 +1,15 @@
+2019-02-06 Dean Jackson <d...@apple.com>
+
+ Fix potential build error in GPUDevice
+ https://bugs.webkit.org/show_bug.cgi?id=194359
+
+ Reviewed by Joseph Pecoraro.
+
+ Add an UNUSED_PARAM for non-macOS platforms.
+
+ * platform/graphics/gpu/cocoa/GPUDeviceMetal.mm:
+ (WebCore::GPUDevice::create):
+
2019-02-06 Daniel Bates <daba...@apple.com>
Standardize on ControlKey instead of CtrlKey
Modified: trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUDeviceMetal.mm (241046 => 241047)
--- trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUDeviceMetal.mm 2019-02-06 21:44:17 UTC (rev 241046)
+++ trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUDeviceMetal.mm 2019-02-06 21:48:01 UTC (rev 241047)
@@ -53,9 +53,10 @@
}
}
}
-
+#else
+ UNUSED_PARAM(options);
+#endif // PLATFORM(MAC)
if (!devicePtr)
-#endif // PLATFORM(MAC)
devicePtr = adoptNS(MTLCreateSystemDefaultDevice());
END_BLOCK_OBJC_EXCEPTIONS;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes