summaryrefslogtreecommitdiffstats
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
UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.gz
UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.lz
UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.xz
UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.zip
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 608a09ccf..d0bbcf5ea 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 b6cda3ff9..070ae60bb 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 39560cc79..bf8030b6e 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 6f160cadb..6fb51b7d9 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 0c71605f0..0303e69e3 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 fd57e4a77..470e935d3 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 d21610ff4..c668773ce 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_