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 314283005: Remove m_requestEntityBody from XMLHttpRequest (Closed)

Created:
6 years, 6 months ago by tyoshino (SeeGerritForStatus)
Modified:
6 years, 6 months ago
Reviewers:
tkent, Adam Rice
CC:
blink-reviews, abarth-chromium
Visibility:
Public.

Description

Remove m_requestEntityBody from XMLHttpRequest We don't have to hold the FormData instance to be used by createRequest() as a class member. It's instantiated right before createRequest() call. We can just allocate it on stack. BUG=none R=ricea,tkent Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175776

Patch Set 1 #

Patch Set 2 : Added release() #

Total comments: 6

Patch Set 3 : Addressed #6 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -27 lines) Patch
M Source/core/xml/XMLHttpRequest.h View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 2 11 chunks +33 lines, -25 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
tyoshino (SeeGerritForStatus)
6 years, 6 months ago (2014-06-06 09:01:48 UTC) #1
Adam Rice
lgtm
6 years, 6 months ago (2014-06-06 12:57:14 UTC) #2
tyoshino (SeeGerritForStatus)
Thanks Adam. I just added release() calls not to unnecessarily keep a reference to FormData.
6 years, 6 months ago (2014-06-09 04:17:09 UTC) #3
tyoshino (SeeGerritForStatus)
+tkent for OWNER review
6 years, 6 months ago (2014-06-09 04:17:22 UTC) #4
tyoshino (SeeGerritForStatus)
On 2014/06/09 04:17:22, tyoshino wrote: > +tkent for OWNER review and cc abarth
6 years, 6 months ago (2014-06-09 04:17:58 UTC) #5
tkent
https://codereview.chromium.org/314283005/diff/20001/Source/core/xml/XMLHttpRequest.cpp File Source/core/xml/XMLHttpRequest.cpp (right): https://codereview.chromium.org/314283005/diff/20001/Source/core/xml/XMLHttpRequest.cpp#newcode823 Source/core/xml/XMLHttpRequest.cpp:823: if (httpBody.get() && m_upload) { nit: |.get()| is unnecessary. ...
6 years, 6 months ago (2014-06-09 04:39:05 UTC) #6
tkent
lgtm
6 years, 6 months ago (2014-06-09 04:39:10 UTC) #7
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/314283005/diff/20001/Source/core/xml/XMLHttpRequest.cpp File Source/core/xml/XMLHttpRequest.cpp (right): https://codereview.chromium.org/314283005/diff/20001/Source/core/xml/XMLHttpRequest.cpp#newcode823 Source/core/xml/XMLHttpRequest.cpp:823: if (httpBody.get() && m_upload) { On 2014/06/09 04:39:05, tkent ...
6 years, 6 months ago (2014-06-09 04:52:30 UTC) #8
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 6 months ago (2014-06-09 04:52:49 UTC) #9
tyoshino (SeeGerritForStatus)
The CQ bit was unchecked by tyoshino@chromium.org
6 years, 6 months ago (2014-06-09 04:52:52 UTC) #10
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 6 months ago (2014-06-09 04:53:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/314283005/40001
6 years, 6 months ago (2014-06-09 04:54:06 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 05:57:56 UTC) #13
Message was sent while issue was closed.
Change committed as 175776

Powered by Google App Engine
This is Rietveld 408576698