MicroData: Remove ExceptionCode& from setAttribute() call.

https://bugs.webkit.org/show_bug.cgi?id=76695

Patch by Arko Saha <nghq36@motorola.com> on 2012-01-23
Reviewed by Hajime Morita.

Changeset http://trac.webkit.org/changeset/103296 removed unused
ExceptionCode& argument from Element::setAttribute(QualifiedName).
Hence updating all calls to setAttribute() method in MicroData code.

* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::setItemValueText):
* html/HTMLAreaElement.cpp:
(WebCore::HTMLAreaElement::setItemValueText):
* html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::setItemValueText):
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::setItemValueText):
* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::setItemValueText):
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::setItemValueText):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setItemValueText):
* html/HTMLMetaElement.cpp:
(WebCore::HTMLMetaElement::setItemValueText):
* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::setItemValueText):
* html/HTMLSourceElement.cpp:
(WebCore::HTMLSourceElement::setItemValueText):
* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::setItemValueText):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 691549bb
2012-01-23 Arko Saha <nghq36@motorola.com>
MicroData: Remove ExceptionCode& from setAttribute() call.
https://bugs.webkit.org/show_bug.cgi?id=76695
Reviewed by Hajime Morita.
Changeset http://trac.webkit.org/changeset/103296 removed unused
ExceptionCode& argument from Element::setAttribute(QualifiedName).
Hence updating all calls to setAttribute() method in MicroData code.
* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::setItemValueText):
* html/HTMLAreaElement.cpp:
(WebCore::HTMLAreaElement::setItemValueText):
* html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::setItemValueText):
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::setItemValueText):
* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::setItemValueText):
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::setItemValueText):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setItemValueText):
* html/HTMLMetaElement.cpp:
(WebCore::HTMLMetaElement::setItemValueText):
* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::setItemValueText):
* html/HTMLSourceElement.cpp:
(WebCore::HTMLSourceElement::setItemValueText):
* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::setItemValueText):
2012-01-23 Hayato Ito <hayato@chromium.org>
Fix crash when a focused node is removed while in processing focusin event.
......@@ -593,9 +593,9 @@ String HTMLAnchorElement::itemValueText() const
return getURLAttribute(hrefAttr);
}
void HTMLAnchorElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLAnchorElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(hrefAttr, value, ec);
setAttribute(hrefAttr, value);
}
#endif
......
......@@ -252,9 +252,9 @@ String HTMLAreaElement::itemValueText() const
return getURLAttribute(hrefAttr);
}
void HTMLAreaElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLAreaElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(hrefAttr, value, ec);
setAttribute(hrefAttr, value);
}
#endif
......
......@@ -236,9 +236,9 @@ String HTMLEmbedElement::itemValueText() const
return getURLAttribute(srcAttr);
}
void HTMLEmbedElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLEmbedElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(srcAttr, value, ec);
setAttribute(srcAttr, value);
}
#endif
......
......@@ -128,9 +128,9 @@ String HTMLIFrameElement::itemValueText() const
return getURLAttribute(srcAttr);
}
void HTMLIFrameElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLIFrameElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(srcAttr, value, ec);
setAttribute(srcAttr, value);
}
#endif
......
......@@ -375,9 +375,9 @@ String HTMLImageElement::itemValueText() const
return getURLAttribute(srcAttr);
}
void HTMLImageElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLImageElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(srcAttr, value, ec);
setAttribute(srcAttr, value);
}
#endif
......
......@@ -454,9 +454,9 @@ String HTMLLinkElement::itemValueText() const
return getURLAttribute(hrefAttr);
}
void HTMLLinkElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLLinkElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(hrefAttr, value, ec);
setAttribute(hrefAttr, value);
}
#endif
......
......@@ -3620,9 +3620,9 @@ String HTMLMediaElement::itemValueText() const
return getURLAttribute(srcAttr);
}
void HTMLMediaElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLMediaElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(srcAttr, value, ec);
setAttribute(srcAttr, value);
}
#endif
......
......@@ -103,9 +103,9 @@ String HTMLMetaElement::itemValueText() const
return getAttribute(contentAttr);
}
void HTMLMetaElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLMetaElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(contentAttr, value, ec);
setAttribute(contentAttr, value);
}
#endif
......
......@@ -520,9 +520,9 @@ String HTMLObjectElement::itemValueText() const
return getURLAttribute(dataAttr);
}
void HTMLObjectElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLObjectElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(dataAttr, value, ec);
setAttribute(dataAttr, value);
}
#endif
......
......@@ -127,9 +127,9 @@ String HTMLSourceElement::itemValueText() const
return getURLAttribute(srcAttr);
}
void HTMLSourceElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLSourceElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(srcAttr, value, ec);
setAttribute(srcAttr, value);
}
#endif
......
......@@ -353,9 +353,9 @@ String HTMLTrackElement::itemValueText() const
return getURLAttribute(srcAttr);
}
void HTMLTrackElement::setItemValueText(const String& value, ExceptionCode& ec)
void HTMLTrackElement::setItemValueText(const String& value, ExceptionCode&)
{
setAttribute(srcAttr, value, ec);
setAttribute(srcAttr, value);
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment