https://bugs.webkit.org/show_bug.cgi?id=189381
Reviewed by Simon Fraser.
* platform/ios/wak/WKGraphics.mm:
* platform/ios/wak/WebCoreThread.mm:
(WebThreadEnable):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@235816
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2018-09-07 Daniel Bates <dabates@apple.com>
+
+ 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 <wenson_hsieh@apple.com>
Clean up FontAttributeChanges.cpp after r235748
#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;
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);