Bug 74792 - RuleSet: Remove style sheet null-check in addRulesFromSheet().
Summary: RuleSet: Remove style sheet null-check in addRulesFromSheet().
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-17 14:32 PST by Andreas Kling
Modified: 2011-12-17 19:06 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.96 KB, patch)
2011-12-17 14:38 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2011-12-17 14:32:13 PST
There's only one call site where we could pass in a null sheet, so let's add a check there and replace the check in addRulesFromSheet() by an assertion.
Comment 1 Andreas Kling 2011-12-17 14:38:49 PST
Created attachment 119737 [details]
Patch
Comment 2 Andreas Kling 2011-12-17 19:06:40 PST
Comment on attachment 119737 [details]
Patch

Clearing flags on attachment: 119737

Committed r103159: <http://trac.webkit.org/changeset/103159>
Comment 3 Andreas Kling 2011-12-17 19:06:49 PST
All reviewed patches have been landed.  Closing bug.