Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1037)

Unified Diff: Source/core/html/HTMLTableColElement.h

Issue 1196283003: HTMLTableColElement span type set to unsigned (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated test to reflect the changes Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLTableColElement.h
diff --git a/Source/core/html/HTMLTableColElement.h b/Source/core/html/HTMLTableColElement.h
index 8a3e005f7b1500453d975aab3a0f5fe1c37fa504..e5ddeeec5c04df16ff197d426e372885783d5389 100644
--- a/Source/core/html/HTMLTableColElement.h
+++ b/Source/core/html/HTMLTableColElement.h
@@ -35,8 +35,8 @@ class HTMLTableColElement final : public HTMLTablePartElement {
public:
DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLTableColElement);
- int span() const { return m_span; }
- void setSpan(int);
+ unsigned span() const { return m_span; }
+ void setSpan(unsigned);
const AtomicString& width() const;
@@ -48,7 +48,7 @@ private:
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override;
virtual const StylePropertySet* additionalPresentationAttributeStyle() override;
- int m_span;
+ unsigned m_span;
};
inline bool isHTMLTableColElement(const HTMLElement& element)
« no previous file with comments | « LayoutTests/fast/dom/HTMLTableColElement/span-attribute-expected.txt ('k') | Source/core/html/HTMLTableColElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698