gpu_display: correct how Metrics is imported

Change-Id: I3c6e8c7b36940bf04cba1f4a0ef1e2fd469d8ee8
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4804686
Reviewed-by: Vikram Auradkar <auradkar@google.com>
This commit is contained in:
Kaiyi Li 2023-08-22 15:10:51 -07:00 committed by crosvm LUCI
parent be5eb18d11
commit 503f54b283
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ use base::SendTube;
use euclid::size2; use euclid::size2;
use euclid::Size2D; use euclid::Size2D;
use math_util::Size2DCheckedCast; use math_util::Size2DCheckedCast;
use metrics::Metrics; use metrics::sys::windows::Metrics;
pub use surface::NoopSurface as Surface; pub use surface::NoopSurface as Surface;
use vm_control::gpu::DisplayMode; use vm_control::gpu::DisplayMode;
use vm_control::gpu::DisplayParameters; use vm_control::gpu::DisplayParameters;

View file

@ -6,7 +6,7 @@ use std::sync::Weak;
use anyhow::Result; use anyhow::Result;
use euclid::Size2D; use euclid::Size2D;
use metrics::Metrics; use metrics::sys::windows::Metrics;
use super::window::Window; use super::window::Window;
use super::window_message_processor::HandleWindowMessage; use super::window_message_processor::HandleWindowMessage;

View file

@ -9,7 +9,7 @@ use base::RawDescriptor;
use base::ReadNotifier; use base::ReadNotifier;
use base::SendTube; use base::SendTube;
use base::WaitContext; use base::WaitContext;
use metrics::Metrics; use metrics::sys::windows::Metrics;
use crate::gpu_display_win::DisplayProperties; use crate::gpu_display_win::DisplayProperties;
use crate::gpu_display_win::DisplayWin; use crate::gpu_display_win::DisplayWin;