[Webkit-unassigned] [Bug 113237] Build failure when SVG is disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 13:08:05 PDT 2013


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





--- Comment #2 from Rouslan Solomakhin <rouslan+webkit at chromium.org>  2013-03-25 13:10:33 PST ---
Build with disabled SVG generates the following error:

../../Source/WebCore/inspector/InspectorCSSAgent.cpp:1093:37: error: unknown type name 'SVGStyleElement'; did you mean 'StyleElement'?
        cssStyleSheet = static_cast<SVGStyleElement*>(styleElement.get())->sheet();
                                    ^~~~~~~~~~~~~~~
                                    StyleElement
../../Source/WebCore/dom/StyleElement.h:32:7: note: 'StyleElement' declared here
class StyleElement {
      ^
../../Source/WebCore/inspector/InspectorCSSAgent.cpp:1093:25: error: static_cast from 'WebCore::Element *' to 'WebCore::StyleElement *' is not allowed
        cssStyleSheet = static_cast<SVGStyleElement*>(styleElement.get())->sheet();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/WebCore/inspector/InspectorCSSAgent.cpp:1093:76: error: 'sheet' is a protected member of 'WebCore::StyleElement'
        cssStyleSheet = static_cast<SVGStyleElement*>(styleElement.get())->sheet();
                                                                           ^
../../Source/WebCore/dom/StyleElement.h:41:20: note: declared protected here
    CSSStyleSheet* sheet() const { return m_sheet.get(); }
                   ^

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list