Make StylePropertyMap::SetProperty take a const CSSValue& instead of ptr
Made StylePropertyMap::setProperty take a const CSSValue& instead of a const CSSValue*. This is more semantically correct and safe since StylePropertyMaps cannot store nullptrs, and is also an attempt to fix a strange performance issue caused from introducing const CSSValue*s. BUG=526586 R=sashab@chromium.org Signed-off-by:Zhuoyu Qian <zhuoyu.qian@samsung.com> Change-Id: I30f612d69ee944e9df9d591fd6585512aea7d0ac Reviewed-on: https://chromium-review.googlesource.com/835907Reviewed-by:
Sasha Morrissey <sashab@chromium.org> Cr-Commit-Position: refs/heads/master@{#526443}
Showing
Please register or sign in to comment