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

Issue 2125403003: Make sure moved-from SpdyHeaderBlock instances are valid. (Closed)

Created:
4 years, 5 months ago by yinjie
Modified:
4 years, 5 months ago
Reviewers:
Bence
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure moved-from SpdyHeaderBlock instances are valid. * Introduce lazy allocation of Storage. This in particular allows moved-from SpdyHeaderBlock instances to be valid without having to allocate Storage for them. * Use swap in move constructor and move assignment operator to make sure moved-from instance is valid. * Add SpdyHeaderBlockTest.MovedFromIsValid test. * s/block1/block/ in SpdyHeaderBlockTest.AddHeaders. This CL lands server change 125821596 by bnc. BUG=488484 Committed: https://crrev.com/fdcd9441c6a62f381878d6bd5ffe408077263218 Cr-Commit-Position: refs/heads/master@{#404481}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -30 lines) Patch
M net/spdy/spdy_header_block.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/spdy/spdy_header_block.cc View 4 chunks +18 lines, -14 lines 0 comments Download
M net/spdy/spdy_header_block_test.cc View 2 chunks +39 lines, -16 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125403003/1
4 years, 5 months ago (2016-07-07 21:27:55 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gyp_rel on master.tryserver.chromium.mac (JOB_TIMED_OUT, no build URL)
4 years, 5 months ago (2016-07-07 23:30:41 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125403003/1
4 years, 5 months ago (2016-07-08 00:29:28 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-08 01:03:25 UTC) #10
Bence
LGTM.
4 years, 5 months ago (2016-07-08 20:13:40 UTC) #11
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/2125403003/1
4 years, 5 months ago (2016-07-08 20:24:55 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-08 20:31:16 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 20:32:34 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/fdcd9441c6a62f381878d6bd5ffe408077263218
Cr-Commit-Position: refs/heads/master@{#404481}

Powered by Google App Engine
This is Rietveld 408576698