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

Unified Diff: Source/bindings/templates/interface.cpp

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8TestInterfaceEventConstructor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface.cpp
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
index 28204a139f4403aa4507e45f44644a8baa5e5da2..01f4a6c16627d12e4017dbb6a3a490874ba00c3e 100644
--- a/Source/bindings/templates/interface.cpp
+++ b/Source/bindings/templates/interface.cpp
@@ -647,7 +647,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
if (exceptionState.throwIfNeeded())
return;
{% else %}
- RefPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit);
+ RefPtrWillBeRawPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit);
{% endif %}
{% if any_type_attributes and not interface_name == 'ErrorEvent' %}
{# If we're in an isolated world, create a SerializedScriptValue and store
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8TestInterfaceEventConstructor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698