Title: [291854] trunk/Source/WebKit
Revision
291854
Author
[email protected]
Date
2022-03-25 08:55:40 -0700 (Fri, 25 Mar 2022)

Log Message

Unreviewed, fix the internal iOS build after r291842
https://bugs.webkit.org/show_bug.cgi?id=238344

Apply a similar adjustment to `WKModelView.mm`, as in `ARKitInlinePreviewModelPlayerMac.mm`, when generating a
usdz file path.

* UIProcess/ios/WKModelView.mm:
(-[WKModelView createFileForModel:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (291853 => 291854)


--- trunk/Source/WebKit/ChangeLog	2022-03-25 15:52:09 UTC (rev 291853)
+++ trunk/Source/WebKit/ChangeLog	2022-03-25 15:55:40 UTC (rev 291854)
@@ -1,3 +1,14 @@
+2022-03-25  Wenson Hsieh  <[email protected]>
+
+        Unreviewed, fix the internal iOS build after r291842
+        https://bugs.webkit.org/show_bug.cgi?id=238344
+
+        Apply a similar adjustment to `WKModelView.mm`, as in `ARKitInlinePreviewModelPlayerMac.mm`, when generating a
+        usdz file path.
+
+        * UIProcess/ios/WKModelView.mm:
+        (-[WKModelView createFileForModel:]):
+
 2022-03-25  Sihui Liu  <[email protected]>
 
         Introduce an SPI to get website data directory for origin and use it in API tests

Modified: trunk/Source/WebKit/UIProcess/ios/WKModelView.mm (291853 => 291854)


--- trunk/Source/WebKit/UIProcess/ios/WKModelView.mm	2022-03-25 15:52:09 UTC (rev 291853)
+++ trunk/Source/WebKit/UIProcess/ios/WKModelView.mm	2022-03-25 15:55:40 UTC (rev 291854)
@@ -96,7 +96,7 @@
         return NO;
     }
 
-    auto fileName = FileSystem::encodeForFileName(createVersion4UUIDString()) + ".usdz";
+    String fileName = FileSystem::encodeForFileName(createVersion4UUIDString()) + ".usdz";
     auto filePath = FileSystem::pathByAppendingComponent(pathToDirectory, fileName);
     auto file = FileSystem::openFile(filePath, FileSystem::FileOpenMode::Write);
     if (file <= 0)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to