| Index: third_party/WebKit/Source/core/layout/HitTestCache.h
|
| diff --git a/third_party/WebKit/Source/core/layout/HitTestCache.h b/third_party/WebKit/Source/core/layout/HitTestCache.h
|
| index 650c18f5035165dff887245e7c2cdd9b4a34c9ea..d8b3ef48ed60c298f7210496346f834dae9d085b 100644
|
| --- a/third_party/WebKit/Source/core/layout/HitTestCache.h
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestCache.h
|
| @@ -34,13 +34,12 @@ namespace blink {
|
| // size of 1.
|
| #define HIT_TEST_CACHE_SIZE (2)
|
|
|
| -class CORE_EXPORT HitTestCache final : public NoBaseWillBeGarbageCollectedFinalized<HitTestCache> {
|
| - USING_FAST_MALLOC_WILL_BE_REMOVED(HitTestCache);
|
| +class CORE_EXPORT HitTestCache final : public GarbageCollectedFinalized<HitTestCache> {
|
| WTF_MAKE_NONCOPYABLE(HitTestCache);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<HitTestCache> create()
|
| + static RawPtr<HitTestCache> create()
|
| {
|
| - return adoptPtrWillBeNoop(new HitTestCache);
|
| + return (new HitTestCache);
|
| }
|
|
|
| // Check the cache for a possible hit and update |result| if
|
| @@ -76,7 +75,7 @@ private:
|
| };
|
|
|
| unsigned m_updateIndex;
|
| - WillBeHeapVector<HitTestResult, HIT_TEST_CACHE_SIZE> m_items;
|
| + HeapVector<HitTestResult, HIT_TEST_CACHE_SIZE> m_items;
|
| uint64_t m_domTreeVersion;
|
| };
|
|
|
|
|