Simplify Attr by removing m_specified member variable and setter
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Nov 2013 09:32:57 +0000 (09:32 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Nov 2013 09:32:57 +0000 (09:32 +0000)
commitc7645786ebea0c7612c8bf52a0f6b6a36d365634
treeb5dc143a49cfb647e0302daea9f995017d8d4472
parent170f6f79d145d1a1e0157af03f4f5ef6ddea7297
Simplify Attr by removing m_specified member variable and setter
https://bugs.webkit.org/show_bug.cgi?id=123965

Reviewed by Andreas Kling.

Merge https://chromium.googlesource.com/chromium/blink/+/597f44ec928e08820574728889adabc6d8ecd746

m_specified is always true in WebKit so simply return true in Attr::specified().

* dom/Attr.cpp:
(WebCore::Attr::Attr):
* dom/Attr.h:
* dom/Document.cpp:
(WebCore::Document::adoptNode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/Attr.cpp
Source/WebCore/dom/Attr.h
Source/WebCore/dom/Document.cpp