Commit e7f3989b authored by Becky Zhou's avatar Becky Zhou Committed by Commit Bot

Remove Chrome Home logic in location bar that causes a crash

Original CL: https://chromium-review.googlesource.com/821492

Bug: 839511
Change-Id: I99bf98a4ef9a369b6d1c7e3dfee3c9aa9d357e9b
Reviewed-on: https://chromium-review.googlesource.com/1043351Reviewed-by: default avatarTheresa <twellington@chromium.org>
Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Becky Zhou <huayinz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556150}
parent b00685e3
......@@ -201,11 +201,6 @@ public class LocationBarPhone extends LocationBarLayout {
}
private void updateGoogleG() {
if (!mNativeInitialized) {
mGoogleGContainer.setVisibility(View.GONE);
return;
}
// The toolbar data provider can be null during startup, before the ToolbarManager has been
// initialized.
ToolbarDataProvider toolbarDataProvider = getToolbarDataProvider();
......@@ -363,7 +358,6 @@ public class LocationBarPhone extends LocationBarLayout {
@Override
public void onNativeLibraryReady() {
super.onNativeLibraryReady();
if (mBottomSheet != null) updateGoogleG();
// TODO(twellington): Move this to constructor when isModernUiEnabled() is available before
// native is loaded.
......
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