Index: third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
index a683458a27bf5385b82e161d780763bacddc7eaf..327e4a650b22beff2708c91c5c56c7bca24691b4 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
@@ -91,7 +91,7 @@ TEST(PaymentResponseTest, CompleteCalledWithSuccess) |
MockPaymentCompleter* completeCallback = new MockPaymentCompleter; |
PaymentResponse output(std::move(input), completeCallback); |
- EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), Success)); |
+ EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), PaymentCompleter::Success)); |
output.complete(scope.getScriptState(), "success"); |
} |
@@ -105,7 +105,7 @@ TEST(PaymentResponseTest, CompleteCalledWithFailure) |
MockPaymentCompleter* completeCallback = new MockPaymentCompleter; |
PaymentResponse output(std::move(input), completeCallback); |
- EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), Fail)); |
+ EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), PaymentCompleter::Fail)); |
output.complete(scope.getScriptState(), "fail"); |
} |