Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1677)

Unified Diff: third_party/WebKit/Source/core/layout/HitTestCache.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698