Chromium Code Reviews| Index: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm |
| diff --git a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm |
| index a3f360ffaf8611c7886aa0dbae8b8679c1dcf8e0..d6f3abfb2e0fffaaa94e60e657640b9365eda738 100644 |
| --- a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm |
| +++ b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm |
| @@ -584,10 +584,7 @@ NSString* const kOverscollActionsDidEnd = @"OverscollActionsDidStop"; |
| } |
| - (void)setScrollViewContentInset:(UIEdgeInsets)contentInset { |
| - if (_scrollview) |
| - [_scrollview setContentInset:contentInset]; |
| - else |
| - [_webViewScrollViewProxy setContentInsetFast:contentInset]; |
|
Eugene But (OOO till 7-30)
2016/12/21 18:48:43
Are you sure that this does not break Pull To Acti
Eugene But (OOO till 7-30)
2016/12/21 19:15:01
Ok. I tested this change and it breaks overscroll.
justincohen
2016/12/21 19:59:45
Done.
|
| + [_scrollview setContentInset:contentInset]; |
| } |
| - (UIView<RelaxedBoundsConstraintsHitTestSupport>*)headerView { |