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

Issue 2427633004: Don't overwrite PaymentDetails (Closed)

Created:
4 years, 2 months ago by please use gerrit instead
Modified:
4 years, 2 months ago
Reviewers:
Mathieu, haraken
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't overwrite PaymentDetails Overwriting shipping options in PaymentDetails causes a double-delete due to the bug in Oilpan GC http://crbug.com/601193. A workaround until that bug is fixed is to avoid overwriting shipping options in PaymentDetails. However, shipping options cannot be sent to the browser as-is. Therefore, the shipping options are overwritten in the Mojo data structure instead. BUG=600080, 601193 Committed: https://crrev.com/4d6514453bd381827b30e0e1fcb15fb211387a51 Cr-Commit-Position: refs/heads/master@{#426229}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clarify the intent of the code. Add a TODO depending on GC fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -29 lines) Patch
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 7 chunks +53 lines, -29 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
please use gerrit instead
mathp@: PTAL. I own this code, but my co-owner is OOO, so I cannot send ...
4 years, 2 months ago (2016-10-18 13:43:17 UTC) #14
Mathieu
lgtm. code is a bit weird but I got it. Perhaps we can reference a ...
4 years, 2 months ago (2016-10-18 14:13:00 UTC) #15
haraken
LGTM I'm sorry I haven't yet fixed the Oilpan bug... I'm traveling this week but ...
4 years, 2 months ago (2016-10-18 18:28:22 UTC) #18
please use gerrit instead
On 2016/10/18 18:28:22, haraken wrote: > I'm sorry I haven't yet fixed the Oilpan bug... ...
4 years, 2 months ago (2016-10-19 15:44:34 UTC) #20
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/2427633004/80001
4 years, 2 months ago (2016-10-19 15:46:35 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 2 months ago (2016-10-19 17:10:01 UTC) #24
haraken
I've now fixed the oilpan bug in https://chromiumcodereview.appspot.com/2436123002.
4 years, 2 months ago (2016-10-21 03:43:01 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:09:37 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4d6514453bd381827b30e0e1fcb15fb211387a51
Cr-Commit-Position: refs/heads/master@{#426229}

Powered by Google App Engine
This is Rietveld 408576698