DescriptionAdd instantiation declarations for PointBase, SizeBase, RectBase
These templates have explicit instantiations in point.cc, point_f.cc, size.cc,
size_f.cc, rect.cc, rect_f.cc. This suggests that the intent was to have these
instantiations in a single translation unit. Without an explicit instantiation
declaration, they would still be weakly emitted to all translation units that
use point.h (etc). Add an explicit instantiation declaration to stop this from
happening.
Thanks to Rafael Espindola for help with this patch.
BUG=90078
TEST=do a components debug build on mac. observe fewer linker errors.
Normal builds get a bit faster too.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138012
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : not for msvc #
Messages
Total messages: 11 (0 generated)
|