diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 19:25:29 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 19:25:29 +0000 |
commit | 04a53753d25f5dc591ba8d607e903c78b6cc016d (patch) | |
tree | 9e17684c21f6342ed2b9a51261b15a339ad24e07 /site_scons | |
parent | 68ca5c1403fb45cf9ce92d6c20b1e365fb62165e (diff) | |
download | chromium_src-04a53753d25f5dc591ba8d607e903c78b6cc016d.zip chromium_src-04a53753d25f5dc591ba8d607e903c78b6cc016d.tar.gz chromium_src-04a53753d25f5dc591ba8d607e903c78b6cc016d.tar.bz2 |
Mark common instantions of CancelableRequestConsumerTSimple as extern templates.
This means that these template instantiations will be built once in cancelable_request.cc instead of in each of the 20 files that use it. The definitions have been moved to make them not inline (as explicit template instantiation only works with non-inline members).
This cuts more than 4 megabytes off libbrowser.a in Debug mode.
This patch does nothing when compiled with MSVC, due to compiler problems.
BUG=none
TEST=compiles smaller
Review URL: http://codereview.chromium.org/3520001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'site_scons')
0 files changed, 0 insertions, 0 deletions