| Index: chrome/browser/ui/browser_commands.cc
|
| diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
|
| index bececbe68688e4d5d9fe749d8ce3843513f24f66..0b7fc6ff931685c3a662b40cd43adffa8952761a 100644
|
| --- a/chrome/browser/ui/browser_commands.cc
|
| +++ b/chrome/browser/ui/browser_commands.cc
|
| @@ -578,10 +578,11 @@ bool CanZoomOut(content::WebContents* contents) {
|
| contents->GetMinimumZoomPercent();
|
| }
|
|
|
| -bool IsAtDefaultZoom(content::WebContents* contents) {
|
| +bool CanResetZoom(content::WebContents* contents) {
|
| ui_zoom::ZoomController* zoom_controller =
|
| ui_zoom::ZoomController::FromWebContents(contents);
|
| - return zoom_controller->IsAtDefaultZoom();
|
| + return !zoom_controller->IsAtDefaultZoom() ||
|
| + !zoom_controller->PageScaleFactorIsOne();
|
| }
|
|
|
| TabStripModelDelegate::RestoreTabType GetRestoreTabType(
|
|
|