Title: [213808] releases/WebKitGTK/webkit-2.16/Source/WebKit2
Revision
213808
Author
[email protected]
Date
2017-03-13 03:34:50 -0700 (Mon, 13 Mar 2017)

Log Message

Merge r213420 - Remove duplicate initialization guard in WebKit2 logging initialization
https://bugs.webkit.org/show_bug.cgi?id=169164

Patch by Joseph Pecoraro <[email protected]> on 2017-03-04
Reviewed by Dan Bernstein.

* Platform/Logging.cpp:
(WebKit::initializeLogChannelsIfNecessary):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.16/Source/WebKit2/ChangeLog (213807 => 213808)


--- releases/WebKitGTK/webkit-2.16/Source/WebKit2/ChangeLog	2017-03-13 10:32:49 UTC (rev 213807)
+++ releases/WebKitGTK/webkit-2.16/Source/WebKit2/ChangeLog	2017-03-13 10:34:50 UTC (rev 213808)
@@ -1,3 +1,13 @@
+2017-03-04  Joseph Pecoraro  <[email protected]>
+
+        Remove duplicate initialization guard in WebKit2 logging initialization
+        https://bugs.webkit.org/show_bug.cgi?id=169164
+
+        Reviewed by Dan Bernstein.
+
+        * Platform/Logging.cpp:
+        (WebKit::initializeLogChannelsIfNecessary):
+
 2017-03-02  Tomas Popela  <[email protected]>
 
         [WK2] Keyboard menu key should show context menu

Modified: releases/WebKitGTK/webkit-2.16/Source/WebKit2/Platform/Logging.cpp (213807 => 213808)


--- releases/WebKitGTK/webkit-2.16/Source/WebKit2/Platform/Logging.cpp	2017-03-13 10:32:49 UTC (rev 213807)
+++ releases/WebKitGTK/webkit-2.16/Source/WebKit2/Platform/Logging.cpp	2017-03-13 10:34:50 UTC (rev 213808)
@@ -45,11 +45,6 @@
 
 void initializeLogChannelsIfNecessary()
 {
-    static bool haveInitializedLogChannels = false;
-    if (haveInitializedLogChannels)
-        return;
-    haveInitializedLogChannels = true;
-
     static bool haveInitializedLoggingChannels = false;
     if (haveInitializedLoggingChannels)
         return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to