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

Unified Diff: Source/platform/text/TextChecking.h

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 years, 3 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: Source/platform/text/TextChecking.h
diff --git a/Source/platform/text/TextChecking.h b/Source/platform/text/TextChecking.h
index 2a6c5134f0c3bb7d9f064540de46ab498abcffec..458a5c7132d654f9479d4651c273da98ca891422 100644
--- a/Source/platform/text/TextChecking.h
+++ b/Source/platform/text/TextChecking.h
@@ -31,6 +31,7 @@
#ifndef TextChecking_h
#define TextChecking_h
+#include "platform/heap/Handle.h"
#include "platform/text/TextDecoration.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
@@ -103,9 +104,10 @@ private:
Vector<unsigned> m_offsets;
};
-class TextCheckingRequest : public RefCounted<TextCheckingRequest> {
+class TextCheckingRequest : public RefCountedWillBeGarbageCollectedFinalized<TextCheckingRequest> {
public:
virtual ~TextCheckingRequest() { }
+ virtual void trace(Visitor*) { }
virtual const TextCheckingRequestData& data() const = 0;
virtual void didSucceed(const Vector<TextCheckingResult>&) = 0;

Powered by Google App Engine
This is Rietveld 408576698