Remove default definition of ContentSizeToWindowSize
This commit is contained in:
parent
c8723238f8
commit
b70e7c6a4c
2 changed files with 2 additions and 10 deletions
|
@ -170,14 +170,6 @@ void NativeWindow::InitFromOptions(const mate::Dictionary& options) {
|
|||
Show();
|
||||
}
|
||||
|
||||
gfx::Size NativeWindow::ContentSizeToWindowSize(const gfx::Size& size) {
|
||||
return size;
|
||||
}
|
||||
|
||||
gfx::Size NativeWindow::WindowSizeToContentSize(const gfx::Size& size) {
|
||||
return size;
|
||||
}
|
||||
|
||||
void NativeWindow::SetSize(const gfx::Size& size) {
|
||||
SetBounds(gfx::Rect(GetPosition(), size));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue