Title: [242407] trunk/Source/WebCore
- Revision
- 242407
- Author
- justin_...@apple.com
- Date
- 2019-03-04 20:00:21 -0800 (Mon, 04 Mar 2019)
Log Message
Unreviewed build fix for High Sierra.
* platform/graphics/gpu/cocoa/GPUBufferMetal.mm: Should fix "global constructor" error.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (242406 => 242407)
--- trunk/Source/WebCore/ChangeLog 2019-03-05 03:00:29 UTC (rev 242406)
+++ trunk/Source/WebCore/ChangeLog 2019-03-05 04:00:21 UTC (rev 242407)
@@ -1,3 +1,9 @@
+2019-03-04 Justin Fan <justin_...@apple.com>
+
+ Unreviewed build fix for High Sierra.
+
+ * platform/graphics/gpu/cocoa/GPUBufferMetal.mm: Should fix "global constructor" error.
+
2019-03-04 Brent Fulgham <bfulg...@apple.com>
Use a SQLite database to hold the ResourceLoadStatistics data
Modified: trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUBufferMetal.mm (242406 => 242407)
--- trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUBufferMetal.mm 2019-03-05 03:00:29 UTC (rev 242406)
+++ trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUBufferMetal.mm 2019-03-05 04:00:21 UTC (rev 242407)
@@ -39,7 +39,7 @@
namespace WebCore {
-static const auto readOnlyFlags = OptionSet<GPUBufferUsage::Flags> { GPUBufferUsage::Flags::Index, GPUBufferUsage::Flags::Vertex, GPUBufferUsage::Flags::Uniform, GPUBufferUsage::Flags::TransferSource };
+static constexpr auto readOnlyFlags = OptionSet<GPUBufferUsage::Flags> { GPUBufferUsage::Flags::Index, GPUBufferUsage::Flags::Vertex, GPUBufferUsage::Flags::Uniform, GPUBufferUsage::Flags::TransferSource };
bool GPUBuffer::validateBufferUsage(const GPUDevice& device, OptionSet<GPUBufferUsage::Flags> usage)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes