Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Issue 1234763007: CSSValue Immediates: Make toCSSPrimitiveValue() return a const reference (Closed)

Created:
5 years, 5 months ago by sashab
Modified:
5 years, 4 months ago
Reviewers:
CC:
blink-reviews, dglazkov+blink, rwlbuis, apavlov+blink_chromium.org, blink-reviews-css, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_3_tagged_ptrs_finally
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

CSSValue Immediates: Make toCSSPrimitiveValue() return a const reference Make toCSSPrimitiveValue() return a const CSSPrimitiveValue&, to try and reduce ref-churn from calling this function. Depends on crrev.com/1226273002. This is part of a larger refactor of CSSValue to introduce immediates, discussed on the bug. BUG=486252 COMMIT=false

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -78 lines) Patch
M Source/core/css/CSSPrimitiveValue.h View 1 2 3 5 chunks +99 lines, -48 lines 0 comments Download
M Source/core/css/CSSPrimitiveValue.cpp View 3 chunks +10 lines, -10 lines 0 comments Download
M Source/core/css/CSSPrimitiveValueTest.cpp View 4 chunks +96 lines, -16 lines 0 comments Download
M Source/core/css/CSSValue.h View 4 chunks +12 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Powered by Google App Engine
This is Rietveld 408576698