Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Issue 309593004: Un-inline Element's constructor to avoid bloating (Closed)

Created:
6 years, 6 months ago by Inactive
Modified:
6 years, 6 months ago
Reviewers:
eseidel
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Visibility:
Public.

Description

Un-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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M Source/core/dom/Element.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Inactive
6 years, 6 months ago (2014-06-01 02:35:43 UTC) #1
eseidel
lgtm I strongly support this (because I believe Safari over-inlined in WebKit), but I worry ...
6 years, 6 months ago (2014-06-01 04:01:00 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/309593004/1
6 years, 6 months ago (2014-06-01 04:01:11 UTC) #3
commit-bot: I haz the power
6 years, 6 months ago (2014-06-01 04:14:34 UTC) #4
Message was sent while issue was closed.
Change committed as 175213

Powered by Google App Engine
This is Rietveld 408576698