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

Unified Diff: cc/output/latency_info_swap_promise.cc

Issue 1126963006: Move VISUAL_STATE promise to activation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: amend comments Created 5 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
« no previous file with comments | « cc/output/latency_info_swap_promise.h ('k') | cc/output/swap_promise.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/latency_info_swap_promise.cc
diff --git a/cc/output/latency_info_swap_promise.cc b/cc/output/latency_info_swap_promise.cc
index 3c0716294adf3a99e1cf3fab4ba0350d42aea931..afc0f2d85023f45ce6c4945c04a856af0cd669fb 100644
--- a/cc/output/latency_info_swap_promise.cc
+++ b/cc/output/latency_info_swap_promise.cc
@@ -10,7 +10,7 @@ namespace {
ui::LatencyComponentType DidNotSwapReasonToLatencyComponentType(
cc::SwapPromise::DidNotSwapReason reason) {
switch (reason) {
- case cc::SwapPromise::DID_NOT_SWAP_UNKNOWN:
+ case cc::SwapPromise::ACTIVATION_FAILS:
case cc::SwapPromise::SWAP_FAILS:
return ui::INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT;
case cc::SwapPromise::COMMIT_FAILS:
« no previous file with comments | « cc/output/latency_info_swap_promise.h ('k') | cc/output/swap_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698