| Index: Source/core/layout/HitTestCache.h
|
| diff --git a/Source/core/layout/HitTestCache.h b/Source/core/layout/HitTestCache.h
|
| index 2289c115c0a7453fb61aa521411f8da26d98e5c1..c128e30624c9ade3bb63d1ec7a28292dc268839c 100644
|
| --- a/Source/core/layout/HitTestCache.h
|
| +++ b/Source/core/layout/HitTestCache.h
|
| @@ -6,7 +6,6 @@
|
| #define HitTestCache_h
|
|
|
| #include "core/layout/HitTestResult.h"
|
| -#include "platform/heap/Handle.h"
|
| #include "wtf/Vector.h"
|
|
|
| namespace blink {
|
| @@ -32,12 +31,9 @@ namespace blink {
|
| // size of 1.
|
| #define HIT_TEST_CACHE_SIZE (2)
|
|
|
| -class HitTestCache final : public NoBaseWillBeGarbageCollectedFinalized<HitTestCache> {
|
| +class HitTestCache {
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<HitTestCache> create()
|
| - {
|
| - return adoptPtrWillBeNoop(new HitTestCache);
|
| - }
|
| + HitTestCache() = default;
|
|
|
| // Check the cache for a possible hit and update |result| if
|
| // hit encountered; returning true. Otherwise false.
|
| @@ -52,11 +48,7 @@ public:
|
| // Adds a HitTestResult to the cache.
|
| void addCachedResult(const HitTestResult&, uint64_t domTreeVersion);
|
|
|
| - DECLARE_TRACE();
|
| -
|
| private:
|
| - HitTestCache() = default;
|
| -
|
| // These values are reported in UMA as the "EventHitTest" enumeration.
|
| // Do not reorder, append new values at the end, deprecate old
|
| // values and update histograms.xml.
|
|
|