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

Unified Diff: Source/heap/Handle.h

Issue 139803012: Move speech module over to Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch to using WillBeHeapVector transition type Created 6 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: Source/heap/Handle.h
diff --git a/Source/heap/Handle.h b/Source/heap/Handle.h
index 12c7aae49800b781b0bb144a329f9b87441a95ca..01355f4d3bfccb439fe2434ab85936da3d1d271b 100644
--- a/Source/heap/Handle.h
+++ b/Source/heap/Handle.h
@@ -774,6 +774,11 @@ struct IsWeak<WebCore::HeapHashTableBacking<Key, Value, Extractor, Traits, KeyTr
static const bool value = Traits::isWeak;
};
+template<typename T> inline T* getPtr(const WebCore::Member<T>& p)
+{
+ return p.get();
+}
+
} // namespace WTF
#endif

Powered by Google App Engine
This is Rietveld 408576698