summaryrefslogtreecommitdiffstats
path: root/chrome/views/native_frame_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/native_frame_view.cc')
-rw-r--r--chrome/views/native_frame_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/native_frame_view.cc b/chrome/views/native_frame_view.cc
index 20b6f13..ee8eea2 100644
--- a/chrome/views/native_frame_view.cc
+++ b/chrome/views/native_frame_view.cc
@@ -36,7 +36,7 @@ gfx::Rect NativeFrameView::GetWindowBoundsForClientBounds(
gfx::Point NativeFrameView::GetSystemMenuPoint() const {
POINT temp = {0, -kFrameShadowThickness };
- MapWindowPoints(frame_->GetHWND(), HWND_DESKTOP, &temp, 1);
+ MapWindowPoints(frame_->GetNativeView(), HWND_DESKTOP, &temp, 1);
return gfx::Point(temp);
}