commit | 6aa13eaa300fe164fbcbd24fd26f57116bff70d8 | [log] [tgz] |
---|---|---|
author | danakj <[email protected]> | Tue Dec 10 14:53:26 2019 |
committer | Commit Bot <[email protected]> | Tue Dec 10 14:53:26 2019 |
tree | 7e3f295ad1e20d91bb037329086738851ddfe379 | |
parent | 283179526b2dec75040ce0c356e49cffeba90dd0 [diff] [blame] |
Make the ZoomLevelChangedCallback a RepeatingCallback. The callback is called more than once, so it is a RepeatingCallback. Changes all callers from Bind() to BindRepeating() as well. [email protected], [email protected] TBR=wjmaclean Bug: 1007763 Change-Id: Ia64cbefbbaadb63f502f44711ffb05bc4df50e66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1957849 Commit-Queue: danakj <[email protected]> Reviewed-by: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#723352}
diff --git a/content/browser/host_zoom_map_impl.h b/content/browser/host_zoom_map_impl.h index 563b1ac..6fe489bf 100644 --- a/content/browser/host_zoom_map_impl.h +++ b/content/browser/host_zoom_map_impl.h
@@ -55,7 +55,7 @@ double GetDefaultZoomLevel() override; void SetDefaultZoomLevel(double level) override; std::unique_ptr<Subscription> AddZoomLevelChangedCallback( - const ZoomLevelChangedCallback& callback) override; + ZoomLevelChangedCallback callback) override; // Returns the current zoom level for the specified WebContents. This may // be a temporary zoom level, depending on UsesTemporaryZoomLevel().