| Index: components/zoom/zoom_controller.h
|
| diff --git a/components/zoom/zoom_controller.h b/components/zoom/zoom_controller.h
|
| index a0b86876d78338751ab32a9cd9694ee93ae6aba3..159b74843371ba3aec1c71f9b45468729e78162b 100644
|
| --- a/components/zoom/zoom_controller.h
|
| +++ b/components/zoom/zoom_controller.h
|
| @@ -105,7 +105,8 @@ class ZoomController : public content::WebContentsObserver,
|
| }
|
|
|
| // Convenience method to quickly check if the tab's at default zoom.
|
| - bool IsAtDefaultZoom() const;
|
| + // Virtual for testing.
|
| + virtual bool IsAtDefaultZoom() const;
|
|
|
| // Returns which image should be loaded for the current zoom level.
|
| RelativeZoom GetZoomRelativeToDefault() const;
|
|
|