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

Unified Diff: Source/bindings/tests/results/core/V8TestException.cpp

Issue 1310443005: [bindings] Compact ConstantConfiguration by using |union| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/bindings/templates/constants.cpp ('k') | Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/results/core/V8TestException.cpp
diff --git a/Source/bindings/tests/results/core/V8TestException.cpp b/Source/bindings/tests/results/core/V8TestException.cpp
index e77d945f83034bb59314518df3447001e5a6a343..6ae1fee8de1985238c2fe161211a083ca2a1fb88 100644
--- a/Source/bindings/tests/results/core/V8TestException.cpp
+++ b/Source/bindings/tests/results/core/V8TestException.cpp
@@ -138,7 +138,7 @@ static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct
v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate();
ALLOW_UNUSED_LOCAL(prototypeTemplate);
static const V8DOMConfiguration::ConstantConfiguration V8TestExceptionConstants[] = {
- {"UNSIGNED_SHORT_CONSTANT", 1, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort},
+ {"UNSIGNED_SHORT_CONSTANT", 1, V8DOMConfiguration::ConstantTypeUnsignedShort},
};
V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTemplate, V8TestExceptionConstants, WTF_ARRAY_LENGTH(V8TestExceptionConstants));
const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration = {
« no previous file with comments | « Source/bindings/templates/constants.cpp ('k') | Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698