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

Issue 864163004: Reduce code duplication across sendBeacon() overloads. (Closed)

Created:
5 years, 10 months ago by sof
Modified:
5 years, 10 months ago
Reviewers:
Nate Chapin, Mike West
CC:
blink-reviews, gavinp+loader_chromium.org, Nate Chapin, tyoshino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Reduce code duplication across sendBeacon() overloads. Rework the construction of the Beacon requests across the various supported payload types, avoiding duplication of type-independent boilerplate code. On linux64-release, reduces code size from 30k to 15k. R=mkwst BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189790

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -57 lines) Patch
M Source/core/loader/BeaconLoader.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/loader/BeaconLoader.cpp View 3 chunks +125 lines, -55 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
sof
Please take a look.
5 years, 10 months ago (2015-02-09 08:31:23 UTC) #2
Mike West
Hrm. I'm a lot surprised that this saves 15k, but I'm happy to see the ...
5 years, 10 months ago (2015-02-09 09:10:09 UTC) #3
sof
On 2015/02/09 09:10:09, Mike West wrote: > Hrm. I'm a lot surprised that this saves ...
5 years, 10 months ago (2015-02-09 09:54:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864163004/1
5 years, 10 months ago (2015-02-09 10:09:26 UTC) #6
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 10:25:45 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189790

Powered by Google App Engine
This is Rietveld 408576698