win: Fix GetContentSize for minimized window
This commit is contained in:
parent
3b1ee994e2
commit
857acd2574
1 changed files with 5 additions and 0 deletions
|
@ -443,6 +443,11 @@ gfx::Rect NativeWindowViews::GetBounds() {
|
||||||
}
|
}
|
||||||
|
|
||||||
gfx::Size NativeWindowViews::GetContentSize() {
|
gfx::Size NativeWindowViews::GetContentSize() {
|
||||||
|
#if defined(OS_WIN)
|
||||||
|
if (IsMinimized())
|
||||||
|
return NativeWindow::GetContentSize();
|
||||||
|
#endif
|
||||||
|
|
||||||
return web_view_->size();
|
return web_view_->size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue