[Webkit-unassigned] [Bug 107620] New: Make MediaQuaeyEvaluator(bool) constructor explicit.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 22 20:38:02 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=107620

           Summary: Make MediaQuaeyEvaluator(bool) constructor explicit.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hayato at chromium.org
                CC: webcomponents-bugzilla at chromium.org


I had to confess that I've spent a couple of hours on debugging due to this non-explicit constructor.

RuleSet:::addRulesFromSheet is defined:
  RuleSet:addRulesFromSheet(StyleSheetContents*, const MediaQueryEvaluator&, StyleResolver* = 0, const ContainerNode* = 0)

I wrongly called it with 'ruleSet.addRulesFromSheet(sheet, resolver)'. My bad. :(

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list