Misc. trivial cleanup in advance of fixing bug 621004.
This is mostly to shorten code I was touching anyway or reduce diffs in the later patch. There is one behavior change here; the code to ignore custom theme NTP background colors in incognito was also bypassing the GTK theme, which doesn't appear to have been the intent. Limited this case to just custom themes. The custom tab bar code changes from NativeTheme::GetInstanceForNativeUi() to GetNativeTheme(), but since this is happening in the constructor, those will always return the same thing. Bug: none Change-Id: Ie9d490669c9bff474484294a630f0f6b37d25d1c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1961012Reviewed-by:Evan Stade <estade@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#724074}
Showing
Please register or sign in to comment