Indentation in ThreadGlobalData.h is incorrect
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Nov 2019 09:52:27 +0000 (09:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Nov 2019 09:52:27 +0000 (09:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=203895

Patch by Chris Lord <clord@igalia.com> on 2019-11-07
Reviewed by Žan Doberšek.

No new tests -- no change in behavior.

* platform/ThreadGlobalData.h:
(WebCore::ThreadGlobalData::ThreadGlobalData::cachedResourceRequestInitiators):
(WebCore::ThreadGlobalData::ThreadGlobalData::eventNames):
(WebCore::ThreadGlobalData::ThreadGlobalData::threadTimers):
(WebCore::ThreadGlobalData::ThreadGlobalData::qualifiedNameCache):
(WebCore::ThreadGlobalData::ThreadGlobalData::cachedConverterICU):
(WebCore::ThreadGlobalData::ThreadGlobalData::currentState const):
(WebCore::ThreadGlobalData::ThreadGlobalData::setCurrentState):
(WebCore::ThreadGlobalData::ThreadGlobalData::isInRemoveAllEventListeners const):
(WebCore::ThreadGlobalData::ThreadGlobalData::setIsInRemoveAllEventListeners):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252179 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/ThreadGlobalData.h

index e609f31..c9bbf02 100644 (file)
@@ -1,3 +1,23 @@
+2019-11-07  Chris Lord  <clord@igalia.com>
+
+        Indentation in ThreadGlobalData.h is incorrect
+        https://bugs.webkit.org/show_bug.cgi?id=203895
+
+        Reviewed by Žan Doberšek.
+
+        No new tests -- no change in behavior.
+
+        * platform/ThreadGlobalData.h:
+        (WebCore::ThreadGlobalData::ThreadGlobalData::cachedResourceRequestInitiators):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::eventNames):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::threadTimers):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::qualifiedNameCache):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::cachedConverterICU):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::currentState const):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::setCurrentState):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::isInRemoveAllEventListeners const):
+        (WebCore::ThreadGlobalData::ThreadGlobalData::setIsInRemoveAllEventListeners):
+
 2019-11-05  Sergio Villar Senin  <svillar@igalia.com>
 
         VRDisplay should not prevent entering the back/forward cache
index 3d7417c..5630d95 100644 (file)
@@ -37,66 +37,66 @@ class JSGlobalObject;
 
 namespace WebCore {
 
-    class QualifiedNameCache;
-    class ThreadTimers;
+class QualifiedNameCache;
+class ThreadTimers;
 
-    struct CachedResourceRequestInitiators;
-    struct EventNames;
-    struct ICUConverterWrapper;
+struct CachedResourceRequestInitiators;
+struct EventNames;
+struct ICUConverterWrapper;
 
 #if USE(WEB_THREAD)
-    class ThreadGlobalData : public ThreadSafeRefCounted<ThreadGlobalData> {
+class ThreadGlobalData : public ThreadSafeRefCounted<ThreadGlobalData> {
 #else
-    class ThreadGlobalData {
+class ThreadGlobalData {
 #endif
-        WTF_MAKE_NONCOPYABLE(ThreadGlobalData);
-        WTF_MAKE_FAST_ALLOCATED;
-    public:
-        WEBCORE_EXPORT ThreadGlobalData();
-        WEBCORE_EXPORT ~ThreadGlobalData();
-        void destroy(); // called on workers to clean up the ThreadGlobalData before the thread exits.
+    WTF_MAKE_NONCOPYABLE(ThreadGlobalData);
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    WEBCORE_EXPORT ThreadGlobalData();
+    WEBCORE_EXPORT ~ThreadGlobalData();
+    void destroy(); // called on workers to clean up the ThreadGlobalData before the thread exits.
 
-        const CachedResourceRequestInitiators& cachedResourceRequestInitiators() { return *m_cachedResourceRequestInitiators; }
-        EventNames& eventNames() { return *m_eventNames; }
-        ThreadTimers& threadTimers() { return *m_threadTimers; }
-        QualifiedNameCache& qualifiedNameCache() { return *m_qualifiedNameCache; }
+    const CachedResourceRequestInitiators& cachedResourceRequestInitiators() { return *m_cachedResourceRequestInitiators; }
+    EventNames& eventNames() { return *m_eventNames; }
+    ThreadTimers& threadTimers() { return *m_threadTimers; }
+    QualifiedNameCache& qualifiedNameCache() { return *m_qualifiedNameCache; }
 
-        ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; }
+    ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; }
 
-        JSC::JSGlobalObject* currentState() const { return m_currentState; }
-        void setCurrentState(JSC::JSGlobalObject* state) { m_currentState = state; }
+    JSC::JSGlobalObject* currentState() const { return m_currentState; }
+    void setCurrentState(JSC::JSGlobalObject* state) { m_currentState = state; }
 
 #if USE(WEB_THREAD)
-        void setWebCoreThreadData();
+    void setWebCoreThreadData();
 #endif
 
-        bool isInRemoveAllEventListeners() const { return m_isInRemoveAllEventListeners; }
-        void setIsInRemoveAllEventListeners(bool value) { m_isInRemoveAllEventListeners = value; }
+    bool isInRemoveAllEventListeners() const { return m_isInRemoveAllEventListeners; }
+    void setIsInRemoveAllEventListeners(bool value) { m_isInRemoveAllEventListeners = value; }
 
-    private:
-        std::unique_ptr<CachedResourceRequestInitiators> m_cachedResourceRequestInitiators;
-        std::unique_ptr<EventNames> m_eventNames;
-        std::unique_ptr<ThreadTimers> m_threadTimers;
-        std::unique_ptr<QualifiedNameCache> m_qualifiedNameCache;
-        JSC::JSGlobalObject* m_currentState { nullptr };
+private:
+    std::unique_ptr<CachedResourceRequestInitiators> m_cachedResourceRequestInitiators;
+    std::unique_ptr<EventNames> m_eventNames;
+    std::unique_ptr<ThreadTimers> m_threadTimers;
+    std::unique_ptr<QualifiedNameCache> m_qualifiedNameCache;
+    JSC::JSGlobalObject* m_currentState { nullptr };
 
 #ifndef NDEBUG
-        bool m_isMainThread;
+    bool m_isMainThread;
 #endif
 
-        bool m_isInRemoveAllEventListeners { false };
+    bool m_isInRemoveAllEventListeners { false };
 
-        std::unique_ptr<ICUConverterWrapper> m_cachedConverterICU;
+    std::unique_ptr<ICUConverterWrapper> m_cachedConverterICU;
 
-        WEBCORE_EXPORT friend ThreadGlobalData& threadGlobalData();
-    };
+    WEBCORE_EXPORT friend ThreadGlobalData& threadGlobalData();
+};
 
 #if USE(WEB_THREAD)
 WEBCORE_EXPORT ThreadGlobalData& threadGlobalData();
 #else
 WEBCORE_EXPORT ThreadGlobalData& threadGlobalData() PURE_FUNCTION;
 #endif
-    
+
 } // namespace WebCore
 
 #endif // ThreadGlobalData_h