summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/browser_bubble_gtk.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 02:20:21 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 02:20:21 +0000
commit26e99ffd2a4179aefe5dbf8cbd5da74c0bc7a76b (patch)
tree2d4d41533e3cc39ee6b5bf14f65fc9e4df67bd04 /chrome/browser/views/browser_bubble_gtk.cc
parentcfdff328140615ce383ad981dc5c8e4ea82cb0f4 (diff)
downloadchromium_src-26e99ffd2a4179aefe5dbf8cbd5da74c0bc7a76b.zip
chromium_src-26e99ffd2a4179aefe5dbf8cbd5da74c0bc7a76b.tar.gz
chromium_src-26e99ffd2a4179aefe5dbf8cbd5da74c0bc7a76b.tar.bz2
Fix toolkit_views bustage.
BUG=none TEST=none Review URL: http://codereview.chromium.org/112093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_bubble_gtk.cc')
-rw-r--r--chrome/browser/views/browser_bubble_gtk.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/views/browser_bubble_gtk.cc b/chrome/browser/views/browser_bubble_gtk.cc
index 91fea0c..bc717ab 100644
--- a/chrome/browser/views/browser_bubble_gtk.cc
+++ b/chrome/browser/views/browser_bubble_gtk.cc
@@ -26,14 +26,6 @@ void BrowserBubble::InitPopup() {
browser_view->AttachBrowserBubble(this);
}
-void BrowserBubble::DestroyPopup() {
- gfx::NativeWindow native_window = frame_->GetWindow()->GetNativeWindow();
- BrowserView* browser_view =
- BrowserView::GetBrowserViewForNativeWindow(native_window);
- if (browser_view)
- browser_view->DetachBrowserBubble(this);
-}
-
void BrowserBubble::MovePopup(int x, int y, int w, int h) {
views::WidgetGtk* pop = static_cast<views::WidgetGtk*>(popup_.get());
pop->SetBounds(gfx::Rect(x, y, w, h));