Commit 3f4af0c5 authored by Mitsuru Oshima's avatar Mitsuru Oshima Committed by Commit Bot

Remove debug #ifdef

This will fix the zoom not working issue when running on desktop.
I probably forgot to remove this before sending.

Bug: None

Change-Id: Ia2f50b46aefb427a80cbb84c32f7233ad010b0d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1893357Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711486}
parent 56b45ec1
......@@ -251,13 +251,12 @@ ManagedDisplayInfo ManagedDisplayInfo::CreateFromSpecWithID(
display_info.SetRotation(rotation, Display::RotationSource::ACTIVE);
display_info.set_zoom_factor(zoom_factor);
display_info.SetBounds(bounds_in_native);
#if 0
if (!display_modes.size()) {
display_modes.push_back(ManagedDisplayMode(
display_info.size_in_pixel(), 60.0f,
/*interlace=*/false, /*native=*/true, device_scale_factor));
}
#endif
display_info.SetManagedDisplayModes(display_modes);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment