summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLTableColElement.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/html/HTMLTableColElement.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
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