| Index: ash/shell/window_type_launcher.cc
|
| diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc
|
| index 61ba3faf504a694b3d49ba7e3d30a1e24ec76ad8..a84b4cb509d14d20423606da5c989851852a3e6d 100644
|
| --- a/ash/shell/window_type_launcher.cc
|
| +++ b/ash/shell/window_type_launcher.cc
|
| @@ -76,7 +76,7 @@ class ModalWindow : public views::WidgetDelegateView,
|
| virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE {
|
| canvas->FillRect(GetLocalBounds(), color_);
|
| }
|
| - virtual gfx::Size GetPreferredSize() OVERRIDE {
|
| + virtual gfx::Size GetPreferredSize() const OVERRIDE {
|
| return gfx::Size(200, 200);
|
| }
|
| virtual void Layout() OVERRIDE {
|
| @@ -148,7 +148,7 @@ class NonModalTransient : public views::WidgetDelegateView {
|
| virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE {
|
| canvas->FillRect(GetLocalBounds(), color_);
|
| }
|
| - virtual gfx::Size GetPreferredSize() OVERRIDE {
|
| + virtual gfx::Size GetPreferredSize() const OVERRIDE {
|
| return gfx::Size(250, 250);
|
| }
|
|
|
|
|