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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp

Issue 1994913002: PaymentRequest: Remove id attribute from PaymentItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp
index b2906e54d49b36ae72a9bde4966f9d6ac9be9b36..ffaa6e542bc83e5c15cb2f967b83945e4792bd7a 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp
@@ -31,12 +31,6 @@ void setValues(PaymentItemOrShippingOption& original, PaymentTestDataToChange da
if (data != PaymentTestDataAmount || modificationType != PaymentTestRemoveKey)
original.setAmount(itemAmount);
- if (data == PaymentTestDataId) {
please use gerrit instead 2016/05/19 17:48:20 Move this clause into buildShippingOptionForTest()
zino 2016/05/19 19:11:40 Done.
- if (modificationType == PaymentTestOverwriteValue)
- original.setId(valueToUse);
- } else {
- original.setId("id");
- }
if (data == PaymentTestDataLabel) {
if (modificationType == PaymentTestOverwriteValue)
original.setLabel(valueToUse);

Powered by Google App Engine
This is Rietveld 408576698