Title: [285116] trunk/Source/WebKit
Revision
285116
Author
[email protected]
Date
2021-11-01 10:50:16 -0700 (Mon, 01 Nov 2021)

Log Message

GPU process WebKit logging is not initialised
https://bugs.webkit.org/show_bug.cgi?id=232563

Patch by Kimmo Kinnunen <[email protected]> on 2021-11-01
Reviewed by Chris Dumez.

The file was not including LogInitialization.h.
"using namespace WebCore" caused
WebKit::logChannels() to mean WebCore::logChannels().

* GPUProcess/GPUProcess.cpp:
(WebKit::GPUProcess::initializeGPUProcess):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285115 => 285116)


--- trunk/Source/WebKit/ChangeLog	2021-11-01 17:45:35 UTC (rev 285115)
+++ trunk/Source/WebKit/ChangeLog	2021-11-01 17:50:16 UTC (rev 285116)
@@ -1,3 +1,17 @@
+2021-11-01  Kimmo Kinnunen  <[email protected]>
+
+        GPU process WebKit logging is not initialised
+        https://bugs.webkit.org/show_bug.cgi?id=232563
+
+        Reviewed by Chris Dumez.
+
+        The file was not including LogInitialization.h.
+        "using namespace WebCore" caused
+        WebKit::logChannels() to mean WebCore::logChannels().
+
+        * GPUProcess/GPUProcess.cpp:
+        (WebKit::GPUProcess::initializeGPUProcess):
+
 2021-11-01  Sihui Liu  <[email protected]>
 
         Increase responsiveness timeout for network process

Modified: trunk/Source/WebKit/GPUProcess/GPUProcess.cpp (285115 => 285116)


--- trunk/Source/WebKit/GPUProcess/GPUProcess.cpp	2021-11-01 17:45:35 UTC (rev 285115)
+++ trunk/Source/WebKit/GPUProcess/GPUProcess.cpp	2021-11-01 17:50:16 UTC (rev 285116)
@@ -38,7 +38,7 @@
 #include "GPUProcessCreationParameters.h"
 #include "GPUProcessProxyMessages.h"
 #include "GPUProcessSessionParameters.h"
-#include "Logging.h"
+#include "LogInitialization.h"
 #include "SandboxExtension.h"
 #include "WebPageProxyMessages.h"
 #include "WebProcessPoolMessages.h"
@@ -75,7 +75,6 @@
 #endif
 
 namespace WebKit {
-using namespace WebCore;
 
 // We wouldn't want the GPUProcess to repeatedly exit then relaunch when under memory pressure. In particular, we need to make sure the
 // WebProcess has a change to schedule work after the GPUProcess get launched. For this reason, we make sure that the GPUProcess never
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to