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:: |