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

Unified Diff: Source/wtf/HashTraits.h

Issue 211073002: [Oilpan]: Move CSSFontSelectorClient to the oilpan heap using transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding StyleEngine.cpp change (forgot to upload diff again with WTF change) Created 6 years, 9 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/wtf/HashTraits.h
diff --git a/Source/wtf/HashTraits.h b/Source/wtf/HashTraits.h
index b9a258b4fb400db85ecb73b8ecde76c368e89836..92a08044d6bd2ed7c9a932efdf84f6cb4152d072 100644
--- a/Source/wtf/HashTraits.h
+++ b/Source/wtf/HashTraits.h
@@ -191,16 +191,16 @@ namespace WTF {
static bool isEmptyValue(const RawPtr<T>& value) { return !value; }
static const bool needsDestruction = false;
- typedef T* PeekInType;
- typedef T* PassInType;
+ typedef RawPtr<T> PeekInType;
+ typedef RawPtr<T> PassInType;
typedef RawPtr<T>* IteratorGetType;
typedef const RawPtr<T>* IteratorConstGetType;
typedef RawPtr<T>& IteratorReferenceType;
typedef T* const IteratorConstReferenceType;
static IteratorReferenceType getToReferenceConversion(IteratorGetType x) { return *x; }
static IteratorConstReferenceType getToReferenceConstConversion(IteratorConstGetType x) { return x->get(); }
- typedef T* PeekOutType;
- typedef T* PassOutType;
+ typedef RawPtr<T> PeekOutType;
+ typedef RawPtr<T> PassOutType;
template<typename U>
static void store(const U& value, RawPtr<T>& storage) { storage = value; }

Powered by Google App Engine
This is Rietveld 408576698