Index: views/window/window_gtk.h |
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h |
index 9f1af0d8129e5735bfb5940a0c4c9a9fe434284d..db154e8f0d1b5fa8a6775756f95135635d627258 100644 |
--- a/views/window/window_gtk.h |
+++ b/views/window/window_gtk.h |
@@ -60,8 +60,8 @@ class WindowGtk : public WidgetGtk, public Window { |
virtual bool ShouldUseNativeFrame() const; |
virtual void FrameTypeChanged(); |
- virtual Window* AsWindow() { return this; } |
- virtual const Window* AsWindow() const { return this; } |
+ virtual Window* AsWindow(); |
+ virtual const Window* AsWindow() const; |
// Overridden from WidgetGtk: |
virtual gboolean OnButtonPress(GtkWidget* widget, GdkEventButton* event); |