Diff
Modified: trunk/Source/WebCore/ChangeLog (105667 => 105668)
--- trunk/Source/WebCore/ChangeLog 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/ChangeLog 2012-01-24 01:36:56 UTC (rev 105668)
@@ -1,3 +1,37 @@
+2012-01-23 Arko Saha <[email protected]>
+
+ 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 <[email protected]>
Fix crash when a focused node is removed while in processing focusin event.
Modified: trunk/Source/WebCore/html/HTMLAnchorElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLAnchorElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLAnchorElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -593,9 +593,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLAreaElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLAreaElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLAreaElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -252,9 +252,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLEmbedElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLEmbedElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLEmbedElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -236,9 +236,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLIFrameElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLIFrameElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -128,9 +128,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLImageElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLImageElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLImageElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -375,9 +375,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLLinkElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLLinkElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLLinkElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -454,9 +454,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLMediaElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -3620,9 +3620,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLMetaElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLMetaElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLMetaElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -103,9 +103,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLObjectElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLObjectElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLObjectElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -520,9 +520,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLSourceElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLSourceElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLSourceElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -127,9 +127,9 @@
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
Modified: trunk/Source/WebCore/html/HTMLTrackElement.cpp (105667 => 105668)
--- trunk/Source/WebCore/html/HTMLTrackElement.cpp 2012-01-24 01:31:05 UTC (rev 105667)
+++ trunk/Source/WebCore/html/HTMLTrackElement.cpp 2012-01-24 01:36:56 UTC (rev 105668)
@@ -353,9 +353,9 @@
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