diff options
Diffstat (limited to 'WebCore/mathml/MathMLElement.h')
-rw-r--r-- | WebCore/mathml/MathMLElement.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/WebCore/mathml/MathMLElement.h b/WebCore/mathml/MathMLElement.h index 2fa322f..46cd7fd 100644 --- a/WebCore/mathml/MathMLElement.h +++ b/WebCore/mathml/MathMLElement.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2009 Alex Milowski (alex@milowski.com). All rights reserved. + * Copyright (C) 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,18 +31,16 @@ #include "StyledElement.h" namespace WebCore { - + class MathMLElement : public StyledElement { public: static PassRefPtr<MathMLElement> create(const QualifiedName& tagName, Document*); - - virtual bool isMathMLElement() const { return true; } - - virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); - + protected: MathMLElement(const QualifiedName& tagName, Document*); - + +private: + virtual bool isMathMLElement() const { return true; } }; } |