Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: views/window/window_gtk.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698