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

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

Issue 345893002: Implement an infrastructure of Blink-in-JS Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « Source/bindings/scripts/v8_types.py ('k') | Source/bindings/templates/private_script_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/callback_interface.cpp
diff --git a/Source/bindings/templates/callback_interface.cpp b/Source/bindings/templates/callback_interface.cpp
index 5f33caa55ab4a341142f812dfff0a7007281c384..a6776c0530a7d77255a222ab5f8175f77f3c4203 100644
--- a/Source/bindings/templates/callback_interface.cpp
+++ b/Source/bindings/templates/callback_interface.cpp
@@ -57,6 +57,7 @@ namespace WebCore {
{% if method.arguments %}
v8::Handle<v8::Value> argv[] = { {{method.arguments | join(', ', 'handle')}} };
{% else %}
+ {# Empty array initializers are illegal in MSVC. #}
v8::Handle<v8::Value> *argv = 0;
{% endif %}
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/bindings/templates/private_script_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698