Remove default definition of ContentSizeToWindowSize

This commit is contained in:
Cheng Zhao 2015-10-06 00:39:16 +08:00
parent c8723238f8
commit b70e7c6a4c
2 changed files with 2 additions and 10 deletions

View file

@ -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));
}