summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLTableColElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLTableColElement.h')
-rw-r--r--Source/WebCore/html/HTMLTableColElement.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/Source/WebCore/html/HTMLTableColElement.h b/Source/WebCore/html/HTMLTableColElement.h
index 2c96085be..78797f942 100644
--- a/Source/WebCore/html/HTMLTableColElement.h
+++ b/Source/WebCore/html/HTMLTableColElement.h
@@ -23,8 +23,7 @@
*
*/
-#ifndef HTMLTableColElement_h
-#define HTMLTableColElement_h
+#pragma once
#include "HTMLTablePartElement.h"
@@ -32,24 +31,22 @@ namespace WebCore {
class HTMLTableColElement final : public HTMLTablePartElement {
public:
- static PassRefPtr<HTMLTableColElement> create(const QualifiedName& tagName, Document&);
+ static Ref<HTMLTableColElement> create(const QualifiedName& tagName, Document&);
- int span() const { return m_span; }
- void setSpan(int);
+ unsigned span() const { return m_span; }
+ WEBCORE_EXPORT void setSpan(unsigned);
String width() const;
private:
HTMLTableColElement(const QualifiedName& tagName, Document&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
- virtual const StyleProperties* additionalPresentationAttributeStyle() override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
+ const StyleProperties* additionalPresentationAttributeStyle() const final;
- int m_span;
+ unsigned m_span;
};
} //namespace
-
-#endif