Bug 70100

Summary: Merge StyleList into StyleSheet.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch koivisto: review+, kling: commit-queue-

Description Andreas Kling 2011-10-14 05:12:41 PDT
StyleSheet is the only subclass of StyleList. We should merge its functionality into StyleSheet.
Comment 1 Andreas Kling 2011-10-14 05:16:28 PDT
Created attachment 110996 [details]
Proposed patch
Comment 2 Antti Koivisto 2011-10-14 05:19:26 PDT
Comment on attachment 110996 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=110996&action=review

r=me

> Source/WebCore/bindings/js/JSCSSRuleListCustom.cpp:-43
> -    if (StyleList* styleList = jsCSSRuleList->impl()->styleList())

The variable should be renamed too.
Comment 3 Antti Koivisto 2011-10-14 05:20:46 PDT
Comment on attachment 110996 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=110996&action=review

> Source/WebCore/bindings/js/JSCSSRuleListCustom.cpp:43
> -    if (StyleList* styleList = jsCSSRuleList->impl()->styleList())
> +    if (StyleSheet* styleList = jsCSSRuleList->impl()->styleSheet())

This variable
Comment 4 Gyuyoung Kim 2011-10-14 05:21:53 PDT
Comment on attachment 110996 [details]
Proposed patch

Attachment 110996 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/10062510
Comment 5 WebKit Review Bot 2011-10-14 05:22:28 PDT
Comment on attachment 110996 [details]
Proposed patch

Attachment 110996 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/10066504
Comment 6 Early Warning System Bot 2011-10-14 05:24:29 PDT
Comment on attachment 110996 [details]
Proposed patch

Attachment 110996 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/10054520
Comment 7 Andreas Kling 2011-10-14 05:47:12 PDT
Committed r97460: <http://trac.webkit.org/changeset/97460>