summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 14:13:23 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 14:13:23 +0000
commit9b7d65f37d3392c5f69e44e053e9b3a3184b431d (patch)
tree5b65541e79173b6588bb0464365d4b900b2dc32f /views
parentc476652ae760b3dd16d26f4375d9f28fee42238d (diff)
downloadchromium_src-9b7d65f37d3392c5f69e44e053e9b3a3184b431d.zip
chromium_src-9b7d65f37d3392c5f69e44e053e9b3a3184b431d.tar.gz
chromium_src-9b7d65f37d3392c5f69e44e053e9b3a3184b431d.tar.bz2
Removes calls to RootView methods that were removed.
BUG=none TEST=none TBR=jcampan Review URL: http://codereview.chromium.org/164320 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/widget/widget_gtk.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc
index 82af746..cb6cbfe 100644
--- a/views/widget/widget_gtk.cc
+++ b/views/widget/widget_gtk.cc
@@ -151,8 +151,6 @@ void WidgetGtk::Init(GtkWidget* parent,
GDK_KEY_PRESS_MASK |
GDK_KEY_RELEASE_MASK);
- root_view_->OnWidgetCreated();
-
SetRootViewForWidget(widget_, root_view_.get());
MessageLoopForUI::current()->AddObserver(this);
@@ -538,7 +536,6 @@ void WidgetGtk::OnGrabNotify(GtkWidget* widget, gboolean was_grabbed) {
void WidgetGtk::OnDestroy() {
widget_ = window_contents_ = NULL;
- root_view_->OnWidgetDestroyed();
if (delete_on_destroy_)
delete this;
}