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

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

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 years, 10 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/PaymentTestHelper.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
index d4e326b88afb2b7e3883cc540c1dd7b8b77e1bda..a9c50a74026aa2c157137c6d6fb4cf0745941c87 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
@@ -44,13 +44,19 @@ void setValues(PaymentItemOrPaymentShippingOption& original,
itemAmount.setValue("9.99");
}
- if (data != PaymentTestDataAmount || modificationType != PaymentTestRemoveKey)
- original.setAmount(itemAmount);
-
- if (data == PaymentTestDataLabel) {
- if (modificationType == PaymentTestOverwriteValue)
- original.setLabel(valueToUse);
+ if (data != kPaymentTestDataAmount || modification_type != kPaymentTestRemoveKey)
+ /* DO NOT SUBMIT - merge conflict marker.
+ * Please spell |setAmount|, not |SetAmount| below. */
+ original.setAmount(item_amount);
+
+ if (data == kPaymentTestDataLabel) {
+ if (modification_type == kPaymentTestOverwriteValue)
+ /* DO NOT SUBMIT - merge conflict marker.
+ * Please spell |setLabel|, not |SetLabel| below. */
+ original.setLabel(value_to_use);
} else {
+ /* DO NOT SUBMIT - merge conflict marker.
+ * Please spell |setLabel|, not |SetLabel| below. */
original.setLabel("Label");
}
}

Powered by Google App Engine
This is Rietveld 408576698