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

Unified Diff: Source/bindings/scripts/deprecated_code_generator_v8.pm

Issue 23068032: Add constants and primitive type readonly attributes to Python IDL compiler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix spacing Created 7 years, 4 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/scripts/deprecated_code_generator_v8.pm
diff --git a/Source/bindings/scripts/deprecated_code_generator_v8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm
index 94e8d565aada16440defda6056c92815ee6a3687..8370500d691d2cddf38a656570682d8b71fc7079 100644
--- a/Source/bindings/scripts/deprecated_code_generator_v8.pm
+++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm
@@ -4153,7 +4153,7 @@ END
$code .= <<END;
{"${name}", $value},
END
- $code .= "#endif\n" if $conditionalString;
+ $code .= "#endif // $conditionalString\n" if $conditionalString;
}
}
if ($has_constants) {
@@ -5981,7 +5981,7 @@ sub GenerateCompileTimeCheckForEnumsIfNeeded
push(@checks, "COMPILE_ASSERT($value == ${implClassName}::$name, ${implClassName}Enum${name}IsWrongUseDoNotCheckConstants);\n");
}
- push(@checks, "#endif\n") if $conditionalString;
+ push(@checks, "#endif // $conditionalString\n") if $conditionalString;
}
push(@checks, "\n");
}

Powered by Google App Engine
This is Rietveld 408576698