Index: trunk/Source/bindings/core/v8/V8DOMConfiguration.h |
=================================================================== |
--- trunk/Source/bindings/core/v8/V8DOMConfiguration.h (revision 201208) |
+++ trunk/Source/bindings/core/v8/V8DOMConfiguration.h (working copy) |
@@ -125,28 +125,10 @@ |
struct ConstantConfiguration { |
ConstantConfiguration& operator=(const ConstantConfiguration&) = delete; |
DISALLOW_ALLOCATION(); |
- ConstantConfiguration(const char* const name, unsigned value, ConstantType type) |
- : name(name) |
- , ivalue(value) |
- , type(type) {} |
- ConstantConfiguration(const char* const name, int value, ConstantType type) |
- : name(name) |
- , ivalue(value) |
- , type(type) {} |
- ConstantConfiguration(const char* const name, double value, ConstantType type) |
- : name(name) |
- , dvalue(value) |
- , type(type) {} |
- ConstantConfiguration(const char* const name, const char* const value, ConstantType type) |
- : name(name) |
- , svalue(value) |
- , type(type) {} |
const char* const name; |
- union { |
- int ivalue; |
- double dvalue; |
- const char* const svalue; |
- }; |
+ int ivalue; |
+ double dvalue; |
+ const char* const svalue; |
ConstantType type; |
}; |