Index: chrome/browser/extensions/window_controller.cc |
diff --git a/chrome/browser/extensions/window_controller.cc b/chrome/browser/extensions/window_controller.cc |
index a81e6771da9909094f7ff2556123ccca92ea70c2..664d2f765fb5491086f0ded4c22208a3a208262f 100644 |
--- a/chrome/browser/extensions/window_controller.cc |
+++ b/chrome/browser/extensions/window_controller.cc |
@@ -51,10 +51,7 @@ base::DictionaryValue* WindowController::CreateWindowValue() const { |
result->SetString(keys::kShowStateKey, window_state); |
gfx::Rect bounds; |
- if (window()->IsMinimized()) |
- bounds = window()->GetRestoredBounds(); |
- else |
- bounds = window()->GetBounds(); |
+ bounds = window()->GetContentBounds(); |
result->SetInteger(keys::kLeftKey, bounds.x()); |
result->SetInteger(keys::kTopKey, bounds.y()); |
result->SetInteger(keys::kWidthKey, bounds.width()); |