summaryrefslogtreecommitdiffstats
path: root/views/widget/root_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/root_view.h')
-rw-r--r--views/widget/root_view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/widget/root_view.h b/views/widget/root_view.h
index 0bbdea8..aabf339 100644
--- a/views/widget/root_view.h
+++ b/views/widget/root_view.h
@@ -80,7 +80,8 @@ class RootView : public View,
// Tree functions
// Get the Widget that hosts this View.
- virtual Widget* GetWidget() const;
+ virtual const Widget* GetWidget() const;
+ virtual Widget* GetWidget();
// Public API for broadcasting theme change notifications to this View
// hierarchy.