Index: views/window/client_view.h |
diff --git a/views/window/client_view.h b/views/window/client_view.h |
index 08ddcd44154f8b2a855e7e0f1327ba766c8a0386..405ec4e7d6b8608c8838583b1cfc1e21252d0c5b 100644 |
--- a/views/window/client_view.h |
+++ b/views/window/client_view.h |
@@ -31,13 +31,13 @@ class ClientView : public View { |
virtual ~ClientView() {} |
// Manual RTTI ftw. |
- virtual DialogClientView* AsDialogClientView() { return NULL; } |
+ virtual DialogClientView* AsDialogClientView(); |
// Returns true to signal that the Window can be closed. Specialized |
// ClientView subclasses can override this default behavior to allow the |
// close to be blocked until the user corrects mistakes, accepts a warning |
// dialog, etc. |
- virtual bool CanClose() { return true; } |
+ virtual bool CanClose(); |
// Notification that the window is closing. The default implementation |
// forwards the notification to the delegate. |