Title: [252179] trunk/Source/WebCore
- Revision
- 252179
- Author
- [email protected]
- Date
- 2019-11-07 01:52:27 -0800 (Thu, 07 Nov 2019)
Log Message
Indentation in ThreadGlobalData.h is incorrect
https://bugs.webkit.org/show_bug.cgi?id=203895
Patch by Chris Lord <[email protected]> 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (252178 => 252179)
--- trunk/Source/WebCore/ChangeLog 2019-11-07 08:06:07 UTC (rev 252178)
+++ trunk/Source/WebCore/ChangeLog 2019-11-07 09:52:27 UTC (rev 252179)
@@ -1,3 +1,23 @@
+2019-11-07 Chris Lord <[email protected]>
+
+ 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 <[email protected]>
VRDisplay should not prevent entering the back/forward cache
Modified: trunk/Source/WebCore/platform/ThreadGlobalData.h (252178 => 252179)
--- trunk/Source/WebCore/platform/ThreadGlobalData.h 2019-11-07 08:06:07 UTC (rev 252178)
+++ trunk/Source/WebCore/platform/ThreadGlobalData.h 2019-11-07 09:52:27 UTC (rev 252179)
@@ -37,59 +37,59 @@
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();
@@ -96,7 +96,7 @@
#else
WEBCORE_EXPORT ThreadGlobalData& threadGlobalData() PURE_FUNCTION;
#endif
-
+
} // namespace WebCore
#endif // ThreadGlobalData_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes