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

Unified Diff: trunk/Source/bindings/tests/results/core/V8TestInterface.cpp

Issue 1314133002: Revert 201193 "[bindings] Compact ConstantConfiguration by using..." (Closed) Base URL: svn://svn.chromium.org/blink/
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
Index: trunk/Source/bindings/tests/results/core/V8TestInterface.cpp
===================================================================
--- trunk/Source/bindings/tests/results/core/V8TestInterface.cpp (revision 201208)
+++ trunk/Source/bindings/tests/results/core/V8TestInterface.cpp (working copy)
@@ -2461,15 +2461,15 @@
}
#endif // ENABLE(PARTIAL_CONDITION)
static const V8DOMConfiguration::ConstantConfiguration V8TestInterfaceConstants[] = {
- {"UNSIGNED_LONG", 0, V8DOMConfiguration::ConstantTypeUnsignedLong},
- {"CONST_JAVASCRIPT", 1, V8DOMConfiguration::ConstantTypeShort},
- {"IMPLEMENTS_CONSTANT_1", 1, V8DOMConfiguration::ConstantTypeUnsignedShort},
- {"IMPLEMENTS_CONSTANT_2", 2, V8DOMConfiguration::ConstantTypeUnsignedShort},
- {"PARTIAL2_UNSIGNED_SHORT", 0, V8DOMConfiguration::ConstantTypeUnsignedShort},
+ {"UNSIGNED_LONG", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedLong},
+ {"CONST_JAVASCRIPT", 1, 0, 0, V8DOMConfiguration::ConstantTypeShort},
+ {"IMPLEMENTS_CONSTANT_1", 1, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort},
+ {"IMPLEMENTS_CONSTANT_2", 2, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort},
+ {"PARTIAL2_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort},
};
V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTemplate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants));
if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) {
- static const V8DOMConfiguration::ConstantConfiguration constantConfiguration = {"PARTIAL_UNSIGNED_SHORT", 0, V8DOMConfiguration::ConstantTypeUnsignedShort};
+ static const V8DOMConfiguration::ConstantConfiguration constantConfiguration = {"PARTIAL_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort};
V8DOMConfiguration::installConstant(isolate, functionTemplate, prototypeTemplate, constantConfiguration);
}
{

Powered by Google App Engine
This is Rietveld 408576698