Index: chrome/browser/chromeos/input_method/candidate_window.cc |
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc |
index 08ed88474fda37359bd5ff462013cc462954cec3..ce6773862d6a33b6af2dfb5c06a68042e1c5962b 100644 |
--- a/chrome/browser/chromeos/input_method/candidate_window.cc |
+++ b/chrome/browser/chromeos/input_method/candidate_window.cc |
@@ -1215,7 +1215,7 @@ void CandidateWindowView::ResizeAndMoveParentFrame() { |
const int horizontal_offset = GetHorizontalOffset(); |
gfx::Rect old_bounds = parent_frame_->GetClientAreaScreenBounds(); |
- gfx::Rect screen_bounds = gfx::Screen::GetMonitorNearestWindow( |
+ gfx::Rect screen_bounds = gfx::Screen::GetDisplayNearestWindow( |
parent_frame_->GetNativeView()).work_area(); |
// The size. |
gfx::Rect frame_bounds = old_bounds; |
@@ -1510,7 +1510,7 @@ void InfolistWindowView::UpdateCandidates( |
void InfolistWindowView::ResizeAndMoveParentFrame() { |
int x, y; |
gfx::Rect old_bounds = parent_frame_->GetClientAreaScreenBounds(); |
- gfx::Rect screen_bounds = gfx::Screen::GetMonitorNearestWindow( |
+ gfx::Rect screen_bounds = gfx::Screen::GetDisplayNearestWindow( |
parent_frame_->GetNativeView()).work_area(); |
// The size. |
gfx::Rect frame_bounds = old_bounds; |