Changeset 252179 in webkit


Ignore:
Timestamp:
Nov 7, 2019 1:52:27 AM (4 years ago)
Author:
commit-queue@webkit.org
Message:

Indentation in ThreadGlobalData.h is incorrect
https://bugs.webkit.org/show_bug.cgi?id=203895

Patch by Chris Lord <Chris Lord> 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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r252178 r252179  
     12019-11-07  Chris Lord  <clord@igalia.com>
     2
     3        Indentation in ThreadGlobalData.h is incorrect
     4        https://bugs.webkit.org/show_bug.cgi?id=203895
     5
     6        Reviewed by Žan Doberšek.
     7
     8        No new tests -- no change in behavior.
     9
     10        * platform/ThreadGlobalData.h:
     11        (WebCore::ThreadGlobalData::ThreadGlobalData::cachedResourceRequestInitiators):
     12        (WebCore::ThreadGlobalData::ThreadGlobalData::eventNames):
     13        (WebCore::ThreadGlobalData::ThreadGlobalData::threadTimers):
     14        (WebCore::ThreadGlobalData::ThreadGlobalData::qualifiedNameCache):
     15        (WebCore::ThreadGlobalData::ThreadGlobalData::cachedConverterICU):
     16        (WebCore::ThreadGlobalData::ThreadGlobalData::currentState const):
     17        (WebCore::ThreadGlobalData::ThreadGlobalData::setCurrentState):
     18        (WebCore::ThreadGlobalData::ThreadGlobalData::isInRemoveAllEventListeners const):
     19        (WebCore::ThreadGlobalData::ThreadGlobalData::setIsInRemoveAllEventListeners):
     20
    1212019-11-05  Sergio Villar Senin  <svillar@igalia.com>
    222
  • trunk/Source/WebCore/platform/ThreadGlobalData.h

    r251425 r252179  
    3838namespace WebCore {
    3939
    40     class QualifiedNameCache;
    41     class ThreadTimers;
     40class QualifiedNameCache;
     41class ThreadTimers;
    4242
    43     struct CachedResourceRequestInitiators;
    44     struct EventNames;
    45     struct ICUConverterWrapper;
     43struct CachedResourceRequestInitiators;
     44struct EventNames;
     45struct ICUConverterWrapper;
    4646
    4747#if USE(WEB_THREAD)
    48     class ThreadGlobalData : public ThreadSafeRefCounted<ThreadGlobalData> {
     48class ThreadGlobalData : public ThreadSafeRefCounted<ThreadGlobalData> {
    4949#else
    50     class ThreadGlobalData {
     50class ThreadGlobalData {
    5151#endif
    52         WTF_MAKE_NONCOPYABLE(ThreadGlobalData);
    53         WTF_MAKE_FAST_ALLOCATED;
    54     public:
    55         WEBCORE_EXPORT ThreadGlobalData();
    56         WEBCORE_EXPORT ~ThreadGlobalData();
    57         void destroy(); // called on workers to clean up the ThreadGlobalData before the thread exits.
     52    WTF_MAKE_NONCOPYABLE(ThreadGlobalData);
     53    WTF_MAKE_FAST_ALLOCATED;
     54public:
     55    WEBCORE_EXPORT ThreadGlobalData();
     56    WEBCORE_EXPORT ~ThreadGlobalData();
     57    void destroy(); // called on workers to clean up the ThreadGlobalData before the thread exits.
    5858
    59         const CachedResourceRequestInitiators& cachedResourceRequestInitiators() { return *m_cachedResourceRequestInitiators; }
    60         EventNames& eventNames() { return *m_eventNames; }
    61         ThreadTimers& threadTimers() { return *m_threadTimers; }
    62         QualifiedNameCache& qualifiedNameCache() { return *m_qualifiedNameCache; }
     59    const CachedResourceRequestInitiators& cachedResourceRequestInitiators() { return *m_cachedResourceRequestInitiators; }
     60    EventNames& eventNames() { return *m_eventNames; }
     61    ThreadTimers& threadTimers() { return *m_threadTimers; }
     62    QualifiedNameCache& qualifiedNameCache() { return *m_qualifiedNameCache; }
    6363
    64         ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; }
     64    ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; }
    6565
    66         JSC::JSGlobalObject* currentState() const { return m_currentState; }
    67         void setCurrentState(JSC::JSGlobalObject* state) { m_currentState = state; }
     66    JSC::JSGlobalObject* currentState() const { return m_currentState; }
     67    void setCurrentState(JSC::JSGlobalObject* state) { m_currentState = state; }
    6868
    6969#if USE(WEB_THREAD)
    70         void setWebCoreThreadData();
     70    void setWebCoreThreadData();
    7171#endif
    7272
    73         bool isInRemoveAllEventListeners() const { return m_isInRemoveAllEventListeners; }
    74         void setIsInRemoveAllEventListeners(bool value) { m_isInRemoveAllEventListeners = value; }
     73    bool isInRemoveAllEventListeners() const { return m_isInRemoveAllEventListeners; }
     74    void setIsInRemoveAllEventListeners(bool value) { m_isInRemoveAllEventListeners = value; }
    7575
    76     private:
    77         std::unique_ptr<CachedResourceRequestInitiators> m_cachedResourceRequestInitiators;
    78         std::unique_ptr<EventNames> m_eventNames;
    79         std::unique_ptr<ThreadTimers> m_threadTimers;
    80         std::unique_ptr<QualifiedNameCache> m_qualifiedNameCache;
    81         JSC::JSGlobalObject* m_currentState { nullptr };
     76private:
     77    std::unique_ptr<CachedResourceRequestInitiators> m_cachedResourceRequestInitiators;
     78    std::unique_ptr<EventNames> m_eventNames;
     79    std::unique_ptr<ThreadTimers> m_threadTimers;
     80    std::unique_ptr<QualifiedNameCache> m_qualifiedNameCache;
     81    JSC::JSGlobalObject* m_currentState { nullptr };
    8282
    8383#ifndef NDEBUG
    84         bool m_isMainThread;
     84    bool m_isMainThread;
    8585#endif
    8686
    87         bool m_isInRemoveAllEventListeners { false };
     87    bool m_isInRemoveAllEventListeners { false };
    8888
    89         std::unique_ptr<ICUConverterWrapper> m_cachedConverterICU;
     89    std::unique_ptr<ICUConverterWrapper> m_cachedConverterICU;
    9090
    91         WEBCORE_EXPORT friend ThreadGlobalData& threadGlobalData();
    92     };
     91    WEBCORE_EXPORT friend ThreadGlobalData& threadGlobalData();
     92};
    9393
    9494#if USE(WEB_THREAD)
     
    9797WEBCORE_EXPORT ThreadGlobalData& threadGlobalData() PURE_FUNCTION;
    9898#endif
    99    
     99
    100100} // namespace WebCore
    101101
Note: See TracChangeset for help on using the changeset viewer.