Commit 0f801b88 authored by Olivier Robin's avatar Olivier Robin Committed by Commit Bot

Remove first run check for overscroll actions on static files.

This check was initially added to avoid overscroll actions on the terms
page of FRE.
But the terms page does not use BVC at all and is presented by the
WelcomeToChromeView, so the check is not needed.

Bug: 746415
Change-Id: I30c74c0283dc63a88d8233287cf130af70e84ab2
Reviewed-on: https://chromium-review.googlesource.com/580929Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Reviewed-by: default avatarJean-François Geyelin <jif@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488629}
parent 2466b5e2
...@@ -2920,7 +2920,7 @@ applicationCommandEndpoint:(id<ApplicationCommands>)applicationCommandEndpoint { ...@@ -2920,7 +2920,7 @@ applicationCommandEndpoint:(id<ApplicationCommands>)applicationCommandEndpoint {
#pragma mark - Install OverScrollActionController method. #pragma mark - Install OverScrollActionController method.
- (void)setOverScrollActionControllerToStaticNativeContent: - (void)setOverScrollActionControllerToStaticNativeContent:
(StaticHtmlNativeContent*)nativeContent { (StaticHtmlNativeContent*)nativeContent {
if (!IsIPadIdiom() && !FirstRun::IsChromeFirstRun()) { if (!IsIPadIdiom()) {
OverscrollActionsController* controller = OverscrollActionsController* controller =
[[OverscrollActionsController alloc] [[OverscrollActionsController alloc]
initWithScrollView:[nativeContent scrollView]]; initWithScrollView:[nativeContent scrollView]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment