{"push_id":1106033538,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"4bdb01c415930156cb26eb368fff57de4b3ee250","before":"4f35b4ca6678836a93dc4b3e0160b55f0895a4fe","commits":[{"sha":"4bdb01c415930156cb26eb368fff57de4b3ee250","author":{"email":"9474dd4e7c7f8368f321b068328d92e98d7db189@opera.com","name":"rune"},"message":"Corrected assert for cacheable stylesheets.\n\nWe have two different caches for StyleSheetContents. One process-wide\nfor resources, and one document-wide for parsed text of style elements.\nThe cacheability differ between the two caches since for instance\nsheets with @media rules may be shared between elements in the same\ndocument as the media query evaluation will be the same, while we can't\ndo that for sheets cached across documents as they may have different\nviewports.\n\nThe assert in CSSStyleSheet::willMutateRules triggered because we\nchecked for the resource cacheability of a style element sheet which\nwas shared even though it had a media query. Renamed the cacheability\nmethod to make clear which cache we're referring to.\n\nRemoved the ASSERT in StyleSheetContents::copy(), as that really didn't\nhave anything to do with copy, only the fact that it is only called\nfrom where cached stylesheets are cloned for rule mutation. The ASSERT\nin willMutateRules right before we copy() should suffice.\n\nR=timloh@chromium.org\nBUG=551674\n\nReview-Url: https://codereview.chromium.org/1961173003\nCr-Commit-Position: refs/heads/master@{#392859}","distinct":true,"url":"https://api.github.com/repos/dstockwell/chromium/commits/4bdb01c415930156cb26eb368fff57de4b3ee250"}]}