Title: [292753] trunk/Source
Revision
292753
Author
don.olmst...@sony.com
Date
2022-04-11 18:32:43 -0700 (Mon, 11 Apr 2022)

Log Message

Fix PlayStation build after r292696
https://bugs.webkit.org/show_bug.cgi?id=239098

Unreviewed build fix.


Source/WebDriver:

* playstation/WebDriverServicePlayStation.cpp:
(WebDriver::WebDriverService::platformCapabilities):

Source/WTF:

* wtf/playstation/LanguagePlayStation.cpp:
(WTF::platformUserPreferredLanguages):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (292752 => 292753)


--- trunk/Source/WTF/ChangeLog	2022-04-12 01:30:11 UTC (rev 292752)
+++ trunk/Source/WTF/ChangeLog	2022-04-12 01:32:43 UTC (rev 292753)
@@ -1,3 +1,13 @@
+2022-04-11  Don Olmstead  <don.olmst...@sony.com>
+
+        Fix PlayStation build after r292696
+        https://bugs.webkit.org/show_bug.cgi?id=239098
+
+        Unreviewed build fix.
+
+        * wtf/playstation/LanguagePlayStation.cpp:
+        (WTF::platformUserPreferredLanguages):
+
 2022-04-11  Yusuke Suzuki  <ysuz...@apple.com>
 
         [JSC] Reduce use of unnecessary cryptographicallyRandom numbers

Modified: trunk/Source/WTF/wtf/playstation/LanguagePlayStation.cpp (292752 => 292753)


--- trunk/Source/WTF/wtf/playstation/LanguagePlayStation.cpp	2022-04-12 01:30:11 UTC (rev 292752)
+++ trunk/Source/WTF/wtf/playstation/LanguagePlayStation.cpp	2022-04-12 01:32:43 UTC (rev 292753)
@@ -36,7 +36,7 @@
 
     char buffer[16];
     if (!getenv_np("SYSTEM_LANGUAGE", buffer, sizeof(buffer)))
-        languages.append(buffer);
+        languages.append(String::fromLatin1(buffer));
 
     return languages;
 }

Modified: trunk/Source/WebDriver/ChangeLog (292752 => 292753)


--- trunk/Source/WebDriver/ChangeLog	2022-04-12 01:30:11 UTC (rev 292752)
+++ trunk/Source/WebDriver/ChangeLog	2022-04-12 01:32:43 UTC (rev 292753)
@@ -1,3 +1,13 @@
+2022-04-11  Don Olmstead  <don.olmst...@sony.com>
+
+        Fix PlayStation build after r292696
+        https://bugs.webkit.org/show_bug.cgi?id=239098
+
+        Unreviewed build fix.
+
+        * playstation/WebDriverServicePlayStation.cpp:
+        (WebDriver::WebDriverService::platformCapabilities):
+
 2022-04-10  Chris Dumez  <cdu...@apple.com>
 
         Finish porting code base to String::fromLatin1() and make String(const char*) private

Modified: trunk/Source/WebDriver/playstation/WebDriverServicePlayStation.cpp (292752 => 292753)


--- trunk/Source/WebDriver/playstation/WebDriverServicePlayStation.cpp	2022-04-12 01:30:11 UTC (rev 292752)
+++ trunk/Source/WebDriver/playstation/WebDriverServicePlayStation.cpp	2022-04-12 01:32:43 UTC (rev 292753)
@@ -45,7 +45,7 @@
 Capabilities WebDriverService::platformCapabilities()
 {
     Capabilities capabilities;
-    capabilities.platformName = String("playstation");
+    capabilities.platformName = String::fromLatin1("playstation");
     capabilities.setWindowRect = true;
     return capabilities;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to