Index: ash/wm/frame_painter.cc |
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc |
index 7565a3ef44b50d881a7957524f5c97c94cfb9c9c..42244087e488f8730feed523783ee529b603d58b 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. |