Bug 74792

Summary: RuleSet: Remove style sheet null-check in addRulesFromSheet().
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: macpherson, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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.