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

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

Issue 19457002: Make 'any'-typed attributes of events available in isolated worlds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 5 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/ScriptWrappable.h
diff --git a/Source/bindings/v8/ScriptWrappable.h b/Source/bindings/v8/ScriptWrappable.h
index 9a0333a2b588c0b36a5d1c711f99ea75122bc5d1..225034e21fe6cd65a39ea3aa7edfc7a2ad097c44 100644
--- a/Source/bindings/v8/ScriptWrappable.h
+++ b/Source/bindings/v8/ScriptWrappable.h
@@ -76,6 +76,11 @@ public:
ASSERT(containsWrapper());
}
+ v8::Local<v8::Object> newLocalWrapper(v8::Isolate* isolate) const
+ {
+ return unsafePersistent().newLocal(isolate);
+ }
+
const WrapperTypeInfo* typeInfo()
{
if (containsTypeInfo())

Powered by Google App Engine
This is Rietveld 408576698