Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Issue 1803823002: Don't create a LoFiBarPopupController if SnackbarManager is null (Closed)

Created:
4 years, 9 months ago by megjablon
Modified:
4 years, 9 months ago
Reviewers:
Ian Wen, Yusuf, gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't create a LoFiBarPopupController if SnackbarManager is null BUG=594381 Committed: https://crrev.com/e08672445f26f16bf7ed5f217447140cb2f3311a Cr-Commit-Position: refs/heads/master@{#381078}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
megjablon
PTAL, thanks!
4 years, 9 months ago (2016-03-14 19:55:52 UTC) #2
gone
Looks like mLoFiBarPopupController is null checked everywhere outside of this, so lgtm.
4 years, 9 months ago (2016-03-14 20:15:32 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1803823002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1803823002/1
4 years, 9 months ago (2016-03-14 20:16:21 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-14 21:34:40 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e08672445f26f16bf7ed5f217447140cb2f3311a Cr-Commit-Position: refs/heads/master@{#381078}
4 years, 9 months ago (2016-03-14 21:37:18 UTC) #8
Ian Wen
Q: if the tab was created early via CCT prerendering, does it mean that after ...
4 years, 9 months ago (2016-03-16 00:35:25 UTC) #10
megjablon
On 2016/03/16 00:35:25, Ian Wen wrote: > Q: if the tab was created early via ...
4 years, 9 months ago (2016-03-16 00:52:38 UTC) #11
Ian Wen
It is possible that when a tab is created, the activity is not there. For ...
4 years, 9 months ago (2016-03-16 01:10:53 UTC) #12
gone
Well, the notification triggers a Tab to be created eventually, but doesn't create it on ...
4 years, 9 months ago (2016-03-16 01:12:46 UTC) #13
megjablon
On 2016/03/16 01:12:46, dfalcantara wrote: > Well, the notification triggers a Tab to be created ...
4 years, 9 months ago (2016-03-16 18:45:04 UTC) #14
gone
That's a Yusuf question :/ Does it make sense to open a thread about this ...
4 years, 9 months ago (2016-03-16 18:46:14 UTC) #16
Yusuf
On 2016/03/16 18:46:14, dfalcantara wrote: > That's a Yusuf question :/ Does it make sense ...
4 years, 9 months ago (2016-03-16 18:48:08 UTC) #17
megjablon
4 years, 9 months ago (2016-03-16 18:51:10 UTC) #18
Message was sent while issue was closed.
On 2016/03/16 18:48:08, Yusuf wrote:
> On 2016/03/16 18:46:14, dfalcantara wrote:
> > That's a Yusuf question :/  Does it make sense to open a thread about this
> > outside of this CL?
> 
> That is not possible right now. We need an activity to create a tab.
> In a few weeks it may be possible.

So currently getSnackbarManager() shouldn't return null since getActivity()
won't return null on Tab creation, correct?

Powered by Google App Engine
This is Rietveld 408576698