DescriptionReduce type-impedance for ExceptionMessages::failedTo* functions
These functions are always called with string literals, so having the
functions accept Strings means all callers have to perform implicit
conversions.
By modifying the signatures to use 'const char*' for these cases, these
conversion can be avoided (in the callers) and only be performed in the
functions themselves.
This reduces code size by ~70kB (Linux, x86-64, gcc-4.8.2).
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170304
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|