[Webkit-unassigned] [Bug 119963] Use TextNodeTraversal for getting sheet text in StyleElement
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 18 19:39:45 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119963
--- Comment #10 from Darin Adler <darin at apple.com> 2013-08-18 19:39:15 PST ---
(From update of attachment 209012)
View in context: https://bugs.webkit.org/attachment.cgi?id=209012&action=review
> Source/WebCore/dom/StyleElement.cpp:114
> + String sheetText = TextNodeTraversal::contentsAsString(element);
>
> - createSheet(e, m_startLineNumber, sheetText.toString());
> + createSheet(element, m_startLineNumber, sheetText);
For me this would read even better without a local variable.
--
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