WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 113234
113237
Build failure when SVG is disabled
https://bugs.webkit.org/show_bug.cgi?id=113237
Summary
Build failure when SVG is disabled
Rouslan Solomakhin
Reported
2013-03-25 13:06:08 PDT
Build failure when SVG is disabled
Attachments
Patch
(1.60 KB, patch)
2013-03-25 13:09 PDT
,
Rouslan Solomakhin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Rouslan Solomakhin
Comment 1
2013-03-25 13:09:00 PDT
Created
attachment 194910
[details]
Patch
Rouslan Solomakhin
Comment 2
2013-03-25 13:10:33 PDT
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(); } ^
Tony Chang
Comment 3
2013-03-25 13:12:53 PDT
Looks like this was added earlier today by apavlov.
http://trac.webkit.org/changeset/146760
Tony Chang
Comment 4
2013-03-25 13:14:29 PDT
Too slow! *** This bug has been marked as a duplicate of
bug 113234
***
Rouslan Solomakhin
Comment 5
2013-03-25 13:16:29 PDT
Khaaaaan!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug