Index: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
index fdaa7f8ee3f7586bb88aa4d3a32e32be1d93f46c..ca8915520cd2711324b13be0e156f3086f509931 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
@@ -116,7 +116,7 @@ TEST(PaymentRequestUpdateEventTest, OnUpdatePaymentDetailsTimeout) |
String errorMessage; |
request->show(scope.getScriptState()).then(funcs.expectNoCall(), funcs.expectCall(&errorMessage)); |
- event->onTimerFired(0); |
+ event->onUpdateEventTimeoutForTesting(); |
v8::MicrotasksScope::PerformCheckpoint(scope.getScriptState()->isolate()); |
EXPECT_EQ("AbortError: Timed out as the page didn't resolve the promise from change event", errorMessage); |