DescriptionRevert of Remove ref_counted.cc (patchset #4 id:60001 of https://codereview.chromium.org/2345013003/ )
Reason for revert:
Increased Android .so by 50kb rather than shrinking it.
Original issue's description:
> Remove ref_counted.cc
>
> This CL moves all RefCountedThreadSafeBase methods in //base/ref_counted.cc
> to the header as inline functions for smaller binary.
>
> RefCountedThreadSafe methods in ref_counted.cc are too small to have
> non-inlined function. Inlining them to the caller reduces the stripped
> binary size of Chromium on Linux by 84kB, since the binary size the
> function body are even smaller than the binary size of the function
> call itself.
>
> Committed: https://crrev.com/2c5c70912ccd80e712b18b4bf39f6da3d41e8847
> Cr-Commit-Position: refs/heads/master@{#419973}
TBR=dcheng@chromium.org,tzik@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
Committed: https://crrev.com/05fcf0d42feafb79059173e37763d2ea8d25af64
Cr-Commit-Position: refs/heads/master@{#421047}
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|