[Webkit-unassigned] [Bug 165127] New: Avoid ref-count churn in CSSParser::ValueWithCalculation::setCalculation()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 28 17:21:15 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=165127
Bug ID: 165127
Summary: Avoid ref-count churn in
CSSParser::ValueWithCalculation::setCalculation()
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dbates at webkit.org
CC: hyatt at apple.com, koivisto at iki.fi,
simon.fraser at apple.com
In CSSParser::ValueWithCalculation::setCalculation() we copy the passed RefPtr into CSSParser::ValueWithCalculation::m_calculation. Instead we should WTFMove() it. This has the benefit of avoiding unnecessary ref-count churn.
--
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/20161129/ebce0ffc/attachment.html>
More information about the webkit-unassigned
mailing list