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

Unified Diff: Source/bindings/templates/union.h

Issue 1118993002: Oilpan: IDL union objects should be put in HeapVector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/templates/union.h
diff --git a/Source/bindings/templates/union.h b/Source/bindings/templates/union.h
index 497846bc30da6b7236e64e66679615a78fc64fad..79e94e7c70efe08b42e5b229448e3d399f97d7e0 100644
--- a/Source/bindings/templates/union.h
+++ b/Source/bindings/templates/union.h
@@ -89,4 +89,8 @@ public:
{% endfor %}
} // namespace blink
+{% for container in containers %}
+WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::{{container.cpp_class}});
haraken 2015/05/01 14:58:13 bashi-san@: Is it correct to set canInitializeWith
Jens Widell 2015/05/04 14:02:18 I'm guessing it would work in practice, but it's t
bashi 2015/05/07 23:59:23 Thanks Jens for detailed explanation! Given above,
+{% endfor %}
+
#endif // {{macro_guard}}

Powered by Google App Engine
This is Rietveld 408576698