| Index: ios/chrome/browser/snapshots/web_controller_snapshot_helper.mm
|
| diff --git a/ios/chrome/browser/snapshots/web_controller_snapshot_helper.mm b/ios/chrome/browser/snapshots/web_controller_snapshot_helper.mm
|
| index 8ff35086c3e364196d02300c1fc2810be77f88cb..044e5bd285891c1d695aa5c29f8e1d614a820080 100644
|
| --- a/ios/chrome/browser/snapshots/web_controller_snapshot_helper.mm
|
| +++ b/ios/chrome/browser/snapshots/web_controller_snapshot_helper.mm
|
| @@ -195,9 +195,9 @@
|
| snapshotToCache = snapshot;
|
| } else {
|
| // Crops the bottom of the fullscreen snapshot.
|
| - CGRect cropRect =
|
| - CGRectMake(0, [[_tab fullScreenControllerDelegate] headerHeight],
|
| - [snapshot size].width, [snapshot size].height);
|
| + CGRect cropRect = CGRectMake(
|
| + 0, [[_tab fullScreenControllerDelegate] headerHeightForTab:_tab],
|
| + [snapshot size].width, [snapshot size].height);
|
| snapshotToCache = CropImage(snapshot, cropRect);
|
| }
|
| [_snapshotManager setImage:snapshotToCache withSessionID:sessionID];
|
|
|