RESOLVED INVALID 117996
CSSRuleList.cpp and CSSGroupingRule.cpp should include <wtf/MemoryInstrumentationVector.h>
https://bugs.webkit.org/show_bug.cgi?id=117996
Summary CSSRuleList.cpp and CSSGroupingRule.cpp should include <wtf/MemoryInstrumenta...
asharif.tools
Reported 2013-06-25 09:07:56 PDT
CSSRuleList.cpp and CSSGroupingRule.cpp use: void WTF::reportMemoryUsage<WTF::RefPtr<WebCore::CSSRule>, 0ul>(WTF::Vector<WTF::RefPtr<WebCore::CSSRule>, 0ul> const*, WTF::MemoryObjectInfo*) but do not include the template header that defines this function. This gives a linker error when building with -fprofile-generate. The fix is simple: Index: Source/core/css/CSSGroupingRule.cpp =================================================================== --- Source/core/css/CSSGroupingRule.cpp (revision 152906) +++ Source/core/css/CSSGroupingRule.cpp (working copy) @@ -32,6 +32,7 @@ #include "core/css/CSSGroupingRule.h" +#include <wtf/MemoryInstrumentationVector.h> #include "core/css/CSSParser.h" #include "core/css/CSSRuleList.h" #include "core/css/CSSStyleSheet.h" Index: Source/core/css/CSSRuleList.cpp =================================================================== --- Source/core/css/CSSRuleList.cpp (revision 152906) +++ Source/core/css/CSSRuleList.cpp (working copy) @@ -22,6 +22,7 @@ #include "config.h" #include "core/css/CSSRuleList.h" +#include <wtf/MemoryInstrumentationVector.h> #include "core/css/CSSRule.h" namespace WebCore {
Attachments
Patch (1.63 KB, patch)
2013-06-25 09:17 PDT, asharif.tools
buildbot: commit-queue-
asharif.tools
Comment 1 2013-06-25 09:17:40 PDT
asharif.tools
Comment 2 2013-06-25 09:18:54 PDT
Comment on attachment 205409 [details] Patch Please take a look at the patch and give me some feedback.
Build Bot
Comment 3 2013-06-25 09:20:17 PDT
EFL EWS Bot
Comment 4 2013-06-25 09:20:26 PDT
Early Warning System Bot
Comment 5 2013-06-25 09:21:49 PDT
EFL EWS Bot
Comment 6 2013-06-25 09:21:59 PDT
Early Warning System Bot
Comment 7 2013-06-25 09:23:28 PDT
kov's GTK+ EWS bot
Comment 8 2013-06-25 09:29:39 PDT
asharif.tools
Comment 9 2013-06-25 09:30:59 PDT
Sorry about the noise. This problem is only in Blink, not in WebKit.
Note You need to log in before you can comment on or make changes to this bug.