Title: [292701] trunk/Source
Revision
292701
Author
cdu...@apple.com
Date
2022-04-10 22:29:23 -0700 (Sun, 10 Apr 2022)

Log Message

Unreviewed Windows build fix after r292696.

Source/WebCore:

* platform/win/LoggingWin.cpp:
(WebCore::logLevelString):

Source/WebCore/PAL:

* pal/win/LoggingWin.cpp:
(PAL::logLevelString):

Source/WebKit:

* Platform/win/LoggingWin.cpp:
(WebKit::logLevelString):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (292700 => 292701)


--- trunk/Source/WebCore/ChangeLog	2022-04-11 05:27:02 UTC (rev 292700)
+++ trunk/Source/WebCore/ChangeLog	2022-04-11 05:29:23 UTC (rev 292701)
@@ -1,3 +1,10 @@
+2022-04-10  Chris Dumez  <cdu...@apple.com>
+
+        Unreviewed Windows build fix after r292696.
+
+        * platform/win/LoggingWin.cpp:
+        (WebCore::logLevelString):
+
 2022-04-10  Yusuke Suzuki  <ysuz...@apple.com>
 
         [JSC] DFG / FTL should be aware of JSString's String replacement

Modified: trunk/Source/WebCore/PAL/ChangeLog (292700 => 292701)


--- trunk/Source/WebCore/PAL/ChangeLog	2022-04-11 05:27:02 UTC (rev 292700)
+++ trunk/Source/WebCore/PAL/ChangeLog	2022-04-11 05:29:23 UTC (rev 292701)
@@ -1,3 +1,10 @@
+2022-04-10  Chris Dumez  <cdu...@apple.com>
+
+        Unreviewed Windows build fix after r292696.
+
+        * pal/win/LoggingWin.cpp:
+        (PAL::logLevelString):
+
 2022-04-08  Elliott Williams  <e...@apple.com>
 
         [Xcode] Avoid targeting 32-bit iOS and Mac architectures

Modified: trunk/Source/WebCore/PAL/pal/win/LoggingWin.cpp (292700 => 292701)


--- trunk/Source/WebCore/PAL/pal/win/LoggingWin.cpp	2022-04-11 05:27:02 UTC (rev 292700)
+++ trunk/Source/WebCore/PAL/pal/win/LoggingWin.cpp	2022-04-11 05:29:23 UTC (rev 292701)
@@ -47,7 +47,7 @@
     if (!GetEnvironmentVariableA(loggingEnvironmentVariable, buffer.data(), length))
         return emptyString();
 
-    return String(buffer.data());
+    return String::fromLatin1(buffer.data());
 #else
     return String();
 #endif

Modified: trunk/Source/WebCore/platform/win/LoggingWin.cpp (292700 => 292701)


--- trunk/Source/WebCore/platform/win/LoggingWin.cpp	2022-04-11 05:27:02 UTC (rev 292700)
+++ trunk/Source/WebCore/platform/win/LoggingWin.cpp	2022-04-11 05:29:23 UTC (rev 292701)
@@ -47,7 +47,7 @@
     if (!GetEnvironmentVariableA(loggingEnvironmentVariable, buffer.data(), length))
         return emptyString();
 
-    return String(buffer.data());
+    return String::fromLatin1(buffer.data());
 #else
     return String();
 #endif

Modified: trunk/Source/WebKit/ChangeLog (292700 => 292701)


--- trunk/Source/WebKit/ChangeLog	2022-04-11 05:27:02 UTC (rev 292700)
+++ trunk/Source/WebKit/ChangeLog	2022-04-11 05:29:23 UTC (rev 292701)
@@ -1,3 +1,10 @@
+2022-04-10  Chris Dumez  <cdu...@apple.com>
+
+        Unreviewed Windows build fix after r292696.
+
+        * Platform/win/LoggingWin.cpp:
+        (WebKit::logLevelString):
+
 2022-04-10  Fujii Hironori  <hironori.fu...@sony.com>
 
         [WinCairo] Child process happens to remain alive even after IPC::Connection is disconnected

Modified: trunk/Source/WebKit/Platform/win/LoggingWin.cpp (292700 => 292701)


--- trunk/Source/WebKit/Platform/win/LoggingWin.cpp	2022-04-11 05:27:02 UTC (rev 292700)
+++ trunk/Source/WebKit/Platform/win/LoggingWin.cpp	2022-04-11 05:29:23 UTC (rev 292701)
@@ -48,7 +48,7 @@
     if (!GetEnvironmentVariableA(loggingEnvironmentVariable, buffer.data(), length))
         return emptyString();
 
-    return String(buffer.data());
+    return String::fromLatin1(buffer.data());
 #else
     return String();
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to