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

Unified Diff: Source/bindings/v8/DOMWrapperMap.h

Issue 26792002: Reland: Reland: Implement new Blink IDL attribute [SetReference] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: codegen impl Created 7 years, 2 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/bindings/v8/DOMWrapperMap.h
diff --git a/Source/bindings/v8/DOMWrapperMap.h b/Source/bindings/v8/DOMWrapperMap.h
index 963b679bb97598854e198a42bfbef25b540f6ca1..49bb1bb761eae7dd7fdf05e4cc5e3cf049a3117d 100644
--- a/Source/bindings/v8/DOMWrapperMap.h
+++ b/Source/bindings/v8/DOMWrapperMap.h
@@ -49,6 +49,12 @@ public:
{
}
+ // FIXME: rewrite other methods to use this?
+ UnsafePersistent<v8::Object> get(KeyType* key)
+ {
+ return m_map.get(key);
+ }
+
v8::Handle<v8::Object> newLocal(KeyType* key, v8::Isolate* isolate)
{
return m_map.get(key).newLocal(isolate);

Powered by Google App Engine
This is Rietveld 408576698