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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241047
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2019-02-06 Dean Jackson <dino@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 <dabates@apple.com>
Standardize on ControlKey instead of CtrlKey
}
}
}
-
- if (!devicePtr)
+#else
+ UNUSED_PARAM(options);
#endif // PLATFORM(MAC)
+ if (!devicePtr)
devicePtr = adoptNS(MTLCreateSystemDefaultDevice());
END_BLOCK_OBJC_EXCEPTIONS;