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

Unified Diff: ui/latency/mojo/latency_info_struct_traits.cc

Issue 2788893004: Renaming gpu swap buffer callbacks and the screenshot latency component. (Closed)
Patch Set: Updating android compositor 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 | « ui/latency/latency_info.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/latency/mojo/latency_info_struct_traits.cc
diff --git a/ui/latency/mojo/latency_info_struct_traits.cc b/ui/latency/mojo/latency_info_struct_traits.cc
index 11e23f6864dc7b4cf915939e259da623a4e1cb91..babf03b702894b3249f5f9a21082fbfe66fdc22e 100644
--- a/ui/latency/mojo/latency_info_struct_traits.cc
+++ b/ui/latency/mojo/latency_info_struct_traits.cc
@@ -45,7 +45,7 @@ ui::mojom::LatencyComponentType UILatencyComponentTypeToMojo(
case ui::INPUT_EVENT_LATENCY_ACK_RWH_COMPONENT:
return ui::mojom::LatencyComponentType::
INPUT_EVENT_LATENCY_ACK_RWH_COMPONENT;
- case ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT:
+ case ui::BROWSER_SNAPSHOT_FRAME_NUMBER_COMPONENT:
return ui::mojom::LatencyComponentType::
WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT;
case ui::TAB_SHOW_COMPONENT:
@@ -118,7 +118,7 @@ ui::LatencyComponentType MojoLatencyComponentTypeToUI(
return ui::INPUT_EVENT_LATENCY_ACK_RWH_COMPONENT;
case ui::mojom::LatencyComponentType::
WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT:
- return ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT;
+ return ui::BROWSER_SNAPSHOT_FRAME_NUMBER_COMPONENT;
case ui::mojom::LatencyComponentType::TAB_SHOW_COMPONENT:
return ui::TAB_SHOW_COMPONENT;
case ui::mojom::LatencyComponentType::
« no previous file with comments | « ui/latency/latency_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698