From: arko@motorola.com Date: Mon, 2 Jul 2012 17:30:33 +0000 (+0000) Subject: Microdata: Fix build failure after r121580. X-Git-Tag: 070512121124~204 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7abf81068fa79f83ef5091665464f5beaebd1b54;p=profile%2Fivi%2Fwebkit-efl.git Microdata: Fix build failure after r121580. https://bugs.webkit.org/show_bug.cgi?id=90378 Reviewed by Ryosuke Niwa. * html/HTMLElement.cpp: (WebCore::HTMLElement::properties): * html/HTMLElement.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121692 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 4e577dc..b7ef7c0 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,14 @@ +2012-07-02 Arko Saha + + Microdata: Fix build failure after r121580. + https://bugs.webkit.org/show_bug.cgi?id=90378 + + Reviewed by Ryosuke Niwa. + + * html/HTMLElement.cpp: + (WebCore::HTMLElement::properties): + * html/HTMLElement.h: + 2012-07-02 Tommy Widenflycht MediaStream API: Update MediaStreamTrackList to match the specification diff --git a/Source/WebCore/html/HTMLElement.cpp b/Source/WebCore/html/HTMLElement.cpp index e92e956..eaee3f4 100644 --- a/Source/WebCore/html/HTMLElement.cpp +++ b/Source/WebCore/html/HTMLElement.cpp @@ -56,6 +56,7 @@ #include #if ENABLE(MICRODATA) +#include "HTMLPropertiesCollection.h" #include "MicroDataItemValue.h" #endif @@ -990,7 +991,7 @@ void HTMLElement::setItemValueText(const String& value, ExceptionCode& ec) HTMLPropertiesCollection* HTMLElement::properties() { - return ensureCachedHTMLCollection(ItemProperties); + return static_cast(ensureCachedHTMLCollection(ItemProperties)); } #endif diff --git a/Source/WebCore/html/HTMLElement.h b/Source/WebCore/html/HTMLElement.h index 6858dfc..a4dcb1d 100644 --- a/Source/WebCore/html/HTMLElement.h +++ b/Source/WebCore/html/HTMLElement.h @@ -32,6 +32,7 @@ class HTMLCollection; class HTMLFormElement; #if ENABLE(MICRODATA) +class HTMLPropertiesCollection; class MicroDataItemValue; #endif