Title: [292787] trunk/Source/WebGPU
- Revision
- 292787
- Author
- [email protected]
- Date
- 2022-04-12 15:13:47 -0700 (Tue, 12 Apr 2022)
Log Message
[WebGPU] Fix the watchOS build
https://bugs.webkit.org/show_bug.cgi?id=239256
Unreviewed.
* WebGPU/Buffer.mm:
(WebGPU::computeRangeSize):
Modified Paths
Diff
Modified: trunk/Source/WebGPU/ChangeLog (292786 => 292787)
--- trunk/Source/WebGPU/ChangeLog 2022-04-12 21:40:00 UTC (rev 292786)
+++ trunk/Source/WebGPU/ChangeLog 2022-04-12 22:13:47 UTC (rev 292787)
@@ -1,3 +1,13 @@
+2022-04-12 Myles C. Maxfield <[email protected]>
+
+ [WebGPU] Fix the watchOS build
+ https://bugs.webkit.org/show_bug.cgi?id=239256
+
+ Unreviewed.
+
+ * WebGPU/Buffer.mm:
+ (WebGPU::computeRangeSize):
+
2022-04-11 Myles C. Maxfield <[email protected]>
[WebGPU] Fix the tvOS build (again)
Modified: trunk/Source/WebGPU/WebGPU/Buffer.mm (292786 => 292787)
--- trunk/Source/WebGPU/WebGPU/Buffer.mm 2022-04-12 21:40:00 UTC (rev 292786)
+++ trunk/Source/WebGPU/WebGPU/Buffer.mm 2022-04-12 22:13:47 UTC (rev 292787)
@@ -187,9 +187,9 @@
return true;
}
-static uint64_t computeRangeSize(uint64_t size, size_t offset)
+static size_t computeRangeSize(uint64_t size, size_t offset)
{
- auto result = checkedDifference<uint64_t>(size, offset);
+ auto result = checkedDifference<size_t>(size, offset);
if (result.hasOverflowed())
return 0;
return result.value();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes