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

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: More namespace tweaks for clang 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 d57ce93293da628ac9d6ec93ff8aa4de50594b43..f3e76fb62809e653ca46f14ef4a6448c09bf27a7 100644
--- a/Source/heap/Handle.h
+++ b/Source/heap/Handle.h
@@ -669,6 +669,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)
haraken 2014/02/12 05:18:45 I'm just curious: Where is this method needed?
sof 2014/02/12 07:48:51 Needed for interface SpeechSynthesis { ...
+{
+ return p.get();
+}
+
} // namespace WTF
#endif

Powered by Google App Engine
This is Rietveld 408576698