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

Issue 2963773002: Stop exporting ComputedStyle. (Closed)

Created:
3 years, 5 months ago by Nico
Modified:
3 years, 5 months ago
Reviewers:
pdr.
CC:
chromium-reviews, blink-reviews, blink-reviews-style_chromium.org, shend, sashab, Reid Kleckner
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop exporting ComputedStyle. Exporting this class alone is respoonsible for 25% of the size of blink_core.ilk, and most of it doesn't have to be exported. Manually export the few (non-inline) functions that need this. This CL reduces the size of blink_core.ilk from 2.59GB to 1.94GB. (I'm at #475088 -- the win is likely smaller, but still substantial, after https://chromium-review.googlesource.com/543155) (One side effect is that the address of the inline functions might end up different in different dlls, but that seems ok.) BUG=560475 Review-Url: https://codereview.chromium.org/2963773002 Cr-Commit-Position: refs/heads/master@{#483051} Committed: https://chromium.googlesource.com/chromium/src/+/23768d32b212f3dbb00965c87a1b892d3ae6f634

Patch Set 1 #

Patch Set 2 : export some methods #

Patch Set 3 : CanvasRenderingContext2DState #

Patch Set 4 : tests whack-a-mole #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -21 lines) Patch
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 11 chunks +25 lines, -21 lines 0 comments Download

Messages

Total messages: 31 (27 generated)
Nico
pdr: This supersedes that other BLINK_EXPORT CL for generated files I sent you a while ...
3 years, 5 months ago (2017-06-28 17:16:58 UTC) #20
pdr.
On 2017/06/28 at 17:16:58, thakis wrote: > pdr: This supersedes that other BLINK_EXPORT CL for ...
3 years, 5 months ago (2017-06-28 17:32:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2963773002/60001
3 years, 5 months ago (2017-06-28 17:33:15 UTC) #25
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 17:37:33 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/23768d32b212f3dbb00965c87a1b...

Powered by Google App Engine
This is Rietveld 408576698