summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/css/cssom/css_math_negate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/cssom/css_math_negate.h')
-rw-r--r--chromium/third_party/blink/renderer/core/css/cssom/css_math_negate.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/cssom/css_math_negate.h b/chromium/third_party/blink/renderer/core/css/cssom/css_math_negate.h
index 15ecaa72961..39049b74583 100644
--- a/chromium/third_party/blink/renderer/core/css/cssom/css_math_negate.h
+++ b/chromium/third_party/blink/renderer/core/css/cssom/css_math_negate.h
@@ -16,15 +16,9 @@ class CORE_EXPORT CSSMathNegate : public CSSMathValue {
public:
// The constructor defined in the IDL.
-#if defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
static CSSMathNegate* Create(V8CSSNumberish* arg) {
return Create(CSSNumericValue::FromNumberish(arg));
}
-#else // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
- static CSSMathNegate* Create(const CSSNumberish& arg) {
- return Create(CSSNumericValue::FromNumberish(arg));
- }
-#endif // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
// Blink-internal constructor
static CSSMathNegate* Create(CSSNumericValue* value) {
return MakeGarbageCollected<CSSMathNegate>(value, value->Type());
@@ -37,11 +31,7 @@ class CORE_EXPORT CSSMathNegate : public CSSMathValue {
String getOperator() const final { return "negate"; }
-#if defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
V8CSSNumberish* value();
-#else // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
- void value(CSSNumberish& value) { value.SetCSSNumericValue(value_); }
-#endif // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
// Blink-internal methods
const CSSNumericValue& Value() const { return *value_; }