Commit 1b2da123 authored by Matt Jones's avatar Matt Jones Committed by Commit Bot

Update theme color on content change

This patch updates the theme color when the tab's content changes as
the typical onThemeColorChanged event is not sent.

Bug: 1115010
Change-Id: I26bad29edff317cc71d3c67437727dc6327cbd9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2346978Reviewed-by: default avatarMei Liang <meiliang@chromium.org>
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797222}
parent a4c6031a
......@@ -111,6 +111,7 @@ public class TopToolbarOverlayMediator {
@Override
public void onContentChanged(Tab tab) {
updateVisibility();
updateThemeColor(tab);
}
};
......
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