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

Log Message

Unreviewed Windows build fix after r292696.

* wtf/win/LoggingWin.cpp:
(WTF::logLevelString):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (292698 => 292699)


--- trunk/Source/WTF/ChangeLog	2022-04-11 05:21:44 UTC (rev 292698)
+++ trunk/Source/WTF/ChangeLog	2022-04-11 05:23:47 UTC (rev 292699)
@@ -1,5 +1,12 @@
 2022-04-10  Chris Dumez  <cdu...@apple.com>
 
+        Unreviewed Windows build fix after r292696.
+
+        * wtf/win/LoggingWin.cpp:
+        (WTF::logLevelString):
+
+2022-04-10  Chris Dumez  <cdu...@apple.com>
+
         Finish porting code base to String::fromLatin1() and make String(const char*) private
         https://bugs.webkit.org/show_bug.cgi?id=238977
 

Modified: trunk/Source/WTF/wtf/win/LoggingWin.cpp (292698 => 292699)


--- trunk/Source/WTF/wtf/win/LoggingWin.cpp	2022-04-11 05:21:44 UTC (rev 292698)
+++ trunk/Source/WTF/wtf/win/LoggingWin.cpp	2022-04-11 05:23:47 UTC (rev 292699)
@@ -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