Commit 336bb313 authored by jackhou's avatar jackhou Committed by Commit bot

[Win] Convert min|max window size to screen pixels.

BUG=413294

Review URL: https://codereview.chromium.org/574283002

Cr-Commit-Position: refs/heads/master@{#295613}
parent a0a7a045
......@@ -1397,6 +1397,9 @@ void HWNDMessageHandler::OnGetMinMaxInfo(MINMAXINFO* minmax_info) {
gfx::Size min_window_size;
gfx::Size max_window_size;
delegate_->GetMinMaxSize(&min_window_size, &max_window_size);
min_window_size = gfx::win::DIPToScreenSize(min_window_size);
max_window_size = gfx::win::DIPToScreenSize(max_window_size);
// Add the native frame border size to the minimum and maximum size if the
// view reports its size as the client size.
......
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