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

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

Issue 2808573002: PaymentRequest: Change the timer task type. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
index 63e221476b9c5d4619f63e40ddda08f1023310d6..a45ff6c4ecc546388cafce87ec6441a19e43a891 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
@@ -854,7 +854,7 @@ PaymentRequest::PaymentRequest(ExecutionContext* executionContext,
: ContextLifecycleObserver(executionContext),
m_options(options),
m_clientBinding(this),
- m_completeTimer(TaskRunnerHelper::get(TaskType::MiscPlatformAPI, frame()),
+ m_completeTimer(TaskRunnerHelper::get(TaskType::UserInteraction, frame()),
please use gerrit instead 2017/04/10 15:35:06 Please don't change this line. According to the s
zino 2017/04/10 16:11:12 I was confused here: User accepts the payment requ
please use gerrit instead 2017/04/10 16:12:52 We cannot keep MiscPlatformAPI task type?
this,
&PaymentRequest::onCompleteTimeout) {
Vector<payments::mojom::blink::PaymentMethodDataPtr> validatedMethodData;
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698