summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dock_info_win.cc
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 00:10:00 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 00:10:00 +0000
commit4a507a6db2df46df4948bcab8705d75bf62f47bf (patch)
tree8b4def46fa1f1ffd87299159534fd588d8ae2ec5 /chrome/browser/dock_info_win.cc
parent653a834a712119f39879f6777c2673c0777c7e10 (diff)
downloadchromium_src-4a507a6db2df46df4948bcab8705d75bf62f47bf.zip
chromium_src-4a507a6db2df46df4948bcab8705d75bf62f47bf.tar.gz
chromium_src-4a507a6db2df46df4948bcab8705d75bf62f47bf.tar.bz2
Turn BrowserView::GetBrowserViewForNativeView() into GetBrowserViewForNativeWindow()
This simplifies things on linux where the native window is not the same type as the native view. Review URL: http://codereview.chromium.org/115830 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dock_info_win.cc')
-rw-r--r--chrome/browser/dock_info_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dock_info_win.cc b/chrome/browser/dock_info_win.cc
index 72241a4..8997659 100644
--- a/chrome/browser/dock_info_win.cc
+++ b/chrome/browser/dock_info_win.cc
@@ -195,7 +195,7 @@ class DockToWindowFinder : public BaseWindowFinder {
protected:
virtual bool ShouldStopIterating(HWND hwnd) {
- BrowserView* window = BrowserView::GetBrowserViewForNativeView(hwnd);
+ BrowserView* window = BrowserView::GetBrowserViewForNativeWindow(hwnd);
CRect bounds;
if (!window || !::IsWindowVisible(hwnd) ||
!::GetWindowRect(hwnd, &bounds)) {