Title: [235816] trunk/Source/WebCore
Revision
235816
Author
[email protected]
Date
2018-09-07 16:00:09 -0700 (Fri, 07 Sep 2018)

Log Message

Cleanup: Remove extraneous "using namespace" and scope WebCore::LogThreading
https://bugs.webkit.org/show_bug.cgi?id=189381

Reviewed by Simon Fraser.

* platform/ios/wak/WKGraphics.mm:
* platform/ios/wak/WebCoreThread.mm:
(WebThreadEnable):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (235815 => 235816)


--- trunk/Source/WebCore/ChangeLog	2018-09-07 22:56:03 UTC (rev 235815)
+++ trunk/Source/WebCore/ChangeLog	2018-09-07 23:00:09 UTC (rev 235816)
@@ -1,3 +1,14 @@
+2018-09-07  Daniel Bates  <[email protected]>
+
+        Cleanup: Remove extraneous "using namespace" and scope WebCore::LogThreading
+        https://bugs.webkit.org/show_bug.cgi?id=189381
+
+        Reviewed by Simon Fraser.
+
+        * platform/ios/wak/WKGraphics.mm:
+        * platform/ios/wak/WebCoreThread.mm:
+        (WebThreadEnable):
+
 2018-09-07  Wenson Hsieh  <[email protected]>
 
         Clean up FontAttributeChanges.cpp after r235748

Modified: trunk/Source/WebCore/platform/ios/wak/WKGraphics.mm (235815 => 235816)


--- trunk/Source/WebCore/platform/ios/wak/WKGraphics.mm	2018-09-07 22:56:03 UTC (rev 235815)
+++ trunk/Source/WebCore/platform/ios/wak/WKGraphics.mm	2018-09-07 23:00:09 UTC (rev 235816)
@@ -31,8 +31,6 @@
 #import "WebCoreThreadInternal.h"
 #import <pal/spi/cg/CoreGraphicsSPI.h>
 
-using namespace WebCore;
-
 static inline void _FillRectsUsingOperation(CGContextRef context, const CGRect* rects, int count, CGCompositeOperation op)
 {
     int i;

Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm (235815 => 235816)


--- trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm	2018-09-07 22:56:03 UTC (rev 235815)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm	2018-09-07 23:00:09 UTC (rev 235816)
@@ -866,8 +866,10 @@
 void WebThreadEnable(void)
 {
     RELEASE_ASSERT_WITH_MESSAGE(!WebCore::IOSApplication::isWebProcess(), "The WebProcess should never run a Web Thread");
-    if (WebCore::IOSApplication::isSpringBoard())
+    if (WebCore::IOSApplication::isSpringBoard()) {
+        using WebCore::LogThreading;
         RELEASE_LOG_FAULT(Threading, "SpringBoard enabled WebThread.");
+    }
 
     static std::once_flag flag;
     std::call_once(flag, StartWebThread);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to