summaryrefslogtreecommitdiffstats
path: root/views/view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/view.cc')
-rw-r--r--views/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view.cc b/views/view.cc
index 820800a..52234d7 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -217,7 +217,7 @@ int View::GetIndexOf(const View* view) const {
// TODO(beng): remove
const Window* View::GetWindow() const {
const Widget* widget = GetWidget();
- return widget ? widget->GetContainingWindow() : NULL;
+ return widget ? widget->GetWindow() : NULL;
}
// TODO(beng): remove