summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/mathml/RenderMathMLMath.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/rendering/mathml/RenderMathMLMath.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/rendering/mathml/RenderMathMLMath.h')
-rw-r--r--Source/WebCore/rendering/mathml/RenderMathMLMath.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/Source/WebCore/rendering/mathml/RenderMathMLMath.h b/Source/WebCore/rendering/mathml/RenderMathMLMath.h
index c51bb0b0b..11cc77693 100644
--- a/Source/WebCore/rendering/mathml/RenderMathMLMath.h
+++ b/Source/WebCore/rendering/mathml/RenderMathMLMath.h
@@ -23,25 +23,27 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderMathMLMath_h
-#define RenderMathMLMath_h
+#pragma once
#if ENABLE(MATHML)
#include "RenderMathMLRow.h"
namespace WebCore {
-
+
+class MathMLRowElement;
+
class RenderMathMLMath final : public RenderMathMLRow {
public:
- RenderMathMLMath(Element&, PassRef<RenderStyle>);
+ RenderMathMLMath(MathMLRowElement&, RenderStyle&&);
private:
- virtual bool isRenderMathMLMath() const override { return true; }
- virtual const char* renderName() const override { return "RenderMathMLMath"; }
+ bool isRenderMathMLMath() const final { return true; }
+ const char* renderName() const final { return "RenderMathMLMath"; }
};
-
+
}
+SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderMathMLMath, isRenderMathMLMath())
+
#endif // ENABLE(MATHML)
-#endif // RenderMathMLMath_h