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

Issue 2886403002: Add check for that reader is not null in GetPostData (Closed)

Created:
3 years, 7 months ago by irisu
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mcgreevy
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add check for that reader is not null in GetPostData. This is necessary as the reader maybe not be an UploadBytesElementReader, but other subclasses of UploadElementReader e.g. UploadBlobElementReader. BUG=723983 Review-Url: https://codereview.chromium.org/2886403002 Cr-Commit-Position: refs/heads/master@{#472990} Committed: https://chromium.googlesource.com/chromium/src/+/1c72320950b6ac44b11399af2c07691e354921b2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M headless/public/util/generic_url_request_job.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
irisu
An alternative is to use UploadElementReader's Read method [1], but it may not be necessary ...
3 years, 7 months ago (2017-05-18 14:02:28 UTC) #11
alex clarke (OOO till 29th)
LGTM
3 years, 7 months ago (2017-05-18 15:23:22 UTC) #12
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/2886403002/1
3 years, 7 months ago (2017-05-19 00:15:06 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 00:24:08 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1c72320950b6ac44b11399af2c07...

Powered by Google App Engine
This is Rietveld 408576698