[Webkit-unassigned] [Bug 163353] Share inline stylesheets between shadow trees

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 13:57:03 PDT 2016


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

Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #291390|review+                     |review?
              Flags|                            |

--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 291390
  --> https://bugs.webkit.org/attachment.cgi?id=291390
patch

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

> Source/WebCore/css/parser/CSSParserMode.h:126
> +        hash ^= URLHash::hash(key.baseURL);
> +        hash ^= StringHash::hash(key.charset);
> +        hash ^= WTF::intHash(static_cast<unsigned>(key.mode));

Is there a better way to combine hash?

> Source/WebCore/dom/InlineStyleSheetOwner.cpp:192
> +        fprintf(stderr, "retrieved inline stylesheet from cache, rules=%d\n", cachedSheet->ruleCount());

Debugging code?

> Source/WebCore/dom/InlineStyleSheetOwner.cpp:209
> +        fprintf(stderr, "adding stylesheet to cache, rules=%d\n", m_sheet->contents().ruleCount());

Debugging code?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161012/9dddc37f/attachment.html>


More information about the webkit-unassigned mailing list