summaryrefslogtreecommitdiffstats
path: root/ash/wm/frame_painter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/frame_painter.cc')
-rw-r--r--ash/wm/frame_painter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc
index 7565a3e..4224408 100644
--- a/ash/wm/frame_painter.cc
+++ b/ash/wm/frame_painter.cc
@@ -369,7 +369,7 @@ void FramePainter::PaintHeader(views::NonClientFrameView* view,
// of the screen.
// TODO(oshima): This will not work under multi-display, need to add method
// like GetWindowBoundsInDisplay().
- if (frame_->GetWindowScreenBounds().y() == 0)
+ if (frame_->GetWindowBoundsInScreen().y() == 0)
return;
// Draw the top corners and edge.