DescriptionUn-inline Element's constructor to avoid bloating
Un-inline Element's constructor to avoid bloating, as advised by Chromium
coding style:
http://www.chromium.org/developers/coding-style/cpp-dos-and-donts#TOC-Stop-inlining-constructors-and-destructors.
The Element class is used in inheritence and has non-POD data members. The
Element constructor is thus non-trivial.
This reduces release binary size by ~12Kb. I saw no impact on the Dromaeo
score:
http://dromaeo.com/?id=222265,222266
R=eseidel@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175213
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|