summaryrefslogtreecommitdiff
path: root/dom/smil
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-17 23:48:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-17 23:48:58 +0000
commit6be15b96ae4a9f0a73aaea794602201ddf0c4242 (patch)
treea0bfe1e4c95ea2f6a1c0e551b346a5d178ba7dc0 /dom/smil
parenta0cdf328774e553eec1df9276604362d7a3679cd (diff)
downloaduxp-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.gz
Issue #1224 - Remove constant expressions from /dom
This excludes DOMProxy handlers in dom bindings because that's intertwined with codegen and js that needs to be handled together.
Diffstat (limited to 'dom/smil')
-rw-r--r--dom/smil/SMILBoolType.h2
-rw-r--r--dom/smil/SMILEnumType.h2
-rw-r--r--dom/smil/SMILIntegerType.h3
-rw-r--r--dom/smil/SMILStringType.h2
-rw-r--r--dom/smil/nsSMILCSSValueType.h2
-rw-r--r--dom/smil/nsSMILFloatType.h2
-rw-r--r--dom/smil/nsSMILNullType.h2
7 files changed, 8 insertions, 7 deletions
diff --git a/dom/smil/SMILBoolType.h b/dom/smil/SMILBoolType.h
index 608a09ccf5..d0bbcf5ea2 100644
--- a/dom/smil/SMILBoolType.h
+++ b/dom/smil/SMILBoolType.h
@@ -42,7 +42,7 @@ protected:
private:
// Private constructor: prevent instances beyond my singleton.
- constexpr SMILBoolType() {}
+ SMILBoolType() {}
};
} // namespace mozilla
diff --git a/dom/smil/SMILEnumType.h b/dom/smil/SMILEnumType.h
index b6cda3ff9c..070ae60bb6 100644
--- a/dom/smil/SMILEnumType.h
+++ b/dom/smil/SMILEnumType.h
@@ -43,7 +43,7 @@ protected:
private:
// Private constructor: prevent instances beyond my singleton.
- constexpr SMILEnumType() {}
+ SMILEnumType() {}
};
} // namespace mozilla
diff --git a/dom/smil/SMILIntegerType.h b/dom/smil/SMILIntegerType.h
index 39560cc796..bf8030b6eb 100644
--- a/dom/smil/SMILIntegerType.h
+++ b/dom/smil/SMILIntegerType.h
@@ -38,7 +38,8 @@ public:
}
private:
- constexpr SMILIntegerType() {}
+ // Private constructor: prevent instances beyond my singleton.
+ SMILIntegerType() {}
};
} // namespace mozilla
diff --git a/dom/smil/SMILStringType.h b/dom/smil/SMILStringType.h
index 6f160cadbb..6fb51b7d9d 100644
--- a/dom/smil/SMILStringType.h
+++ b/dom/smil/SMILStringType.h
@@ -43,7 +43,7 @@ protected:
private:
// Private constructor: prevent instances beyond my singleton.
- constexpr SMILStringType() {}
+ SMILStringType() {}
};
} // namespace mozilla
diff --git a/dom/smil/nsSMILCSSValueType.h b/dom/smil/nsSMILCSSValueType.h
index 0c71605f05..0303e69e37 100644
--- a/dom/smil/nsSMILCSSValueType.h
+++ b/dom/smil/nsSMILCSSValueType.h
@@ -110,7 +110,7 @@ public:
private:
// Private constructor: prevent instances beyond my singleton.
- constexpr nsSMILCSSValueType() {}
+ nsSMILCSSValueType() {}
};
#endif // NS_SMILCSSVALUETYPE_H_
diff --git a/dom/smil/nsSMILFloatType.h b/dom/smil/nsSMILFloatType.h
index fd57e4a770..470e935d37 100644
--- a/dom/smil/nsSMILFloatType.h
+++ b/dom/smil/nsSMILFloatType.h
@@ -41,7 +41,7 @@ protected:
private:
// Private constructor: prevent instances beyond my singleton.
- constexpr nsSMILFloatType() {}
+ nsSMILFloatType() {}
};
#endif // NS_SMILFLOATTYPE_H_
diff --git a/dom/smil/nsSMILNullType.h b/dom/smil/nsSMILNullType.h
index d21610ff41..c668773ce5 100644
--- a/dom/smil/nsSMILNullType.h
+++ b/dom/smil/nsSMILNullType.h
@@ -44,7 +44,7 @@ protected:
private:
// Private constructor: prevent instances beyond my singleton.
- constexpr nsSMILNullType() {}
+ nsSMILNullType() {}
};
#endif // NS_SMILNULLTYPE_H_