Title: [105095] trunk/Source/WebCore
- Revision
- 105095
- Author
- [email protected]
- Date
- 2012-01-16 15:38:12 -0800 (Mon, 16 Jan 2012)
Log Message
Fix typo in StyledElement::mappedAttributeCount().
<http://webkit.org/b/76393>
Rubber-stamped by Antti Koivisto.
* dom/StyledElement.h:
(WebCore::StyledElement::mappedAttributeCount): Less &&, more ?:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (105094 => 105095)
--- trunk/Source/WebCore/ChangeLog 2012-01-16 22:49:57 UTC (rev 105094)
+++ trunk/Source/WebCore/ChangeLog 2012-01-16 23:38:12 UTC (rev 105095)
@@ -1,3 +1,13 @@
+2012-01-16 Andreas Kling <[email protected]>
+
+ Fix typo in StyledElement::mappedAttributeCount().
+ <http://webkit.org/b/76393>
+
+ Rubber-stamped by Antti Koivisto.
+
+ * dom/StyledElement.h:
+ (WebCore::StyledElement::mappedAttributeCount): Less &&, more ?:
+
2012-01-16 Jon Lee <[email protected]>
Build fix for r105086.
Modified: trunk/Source/WebCore/dom/StyledElement.h (105094 => 105095)
--- trunk/Source/WebCore/dom/StyledElement.h 2012-01-16 22:49:57 UTC (rev 105094)
+++ trunk/Source/WebCore/dom/StyledElement.h 2012-01-16 23:38:12 UTC (rev 105095)
@@ -38,7 +38,7 @@
public:
virtual ~StyledElement();
- size_t mappedAttributeCount() const { return attributeMap() && attributeMap()->mappedAttributeCount(); }
+ size_t mappedAttributeCount() const { return attributeMap() ? attributeMap()->mappedAttributeCount() : 0; }
bool isMappedAttribute(const QualifiedName& name) const { MappedAttributeEntry res = eNone; mapToEntry(name, res); return res != eNone; }
void addCSSLength(Attribute*, int id, const String& value);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes