Index: chrome/browser/ui/browser_commands.cc |
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc |
index 76c73ebf2732615c102e06616997d39516bce80f..cde4aef8a06e2ed0ef8af224c30f66b6e1aedc79 100644 |
--- a/chrome/browser/ui/browser_commands.cc |
+++ b/chrome/browser/ui/browser_commands.cc |
@@ -610,7 +610,7 @@ bool CanZoomOut(content::WebContents* contents) { |
bool ActualSize(content::WebContents* contents) { |
Alexei Svitkine (slow)
2014/10/29 03:44:25
I was suggesting we rename this function to also b
|
ZoomController* zoom_controller = ZoomController::FromWebContents(contents); |
- return zoom_controller->GetZoomPercent() != 100.0f; |
+ return !zoom_controller->IsAtDefaultZoom(); |
} |
TabStripModelDelegate::RestoreTabType GetRestoreTabType( |