Commit 36fc288d authored by Matt Jones's avatar Matt Jones Committed by Commit Bot

Re-add removed update to theme color in web_contents_impl

The update to the theme color was removed here:
https://chromium-review.googlesource.com/c/chromium/src/+/2343269

Bug: 1121108
Change-Id: I6af81f699c69b4c919fed02c6777a4765e1b5485
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2372805
Auto-Submit: Matthew Jones <mdjones@chromium.org>
Reviewed-by: default avatarAlexander Timin <altimin@chromium.org>
Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801357}
parent 678c1380
......@@ -5093,6 +5093,7 @@ void WebContentsImpl::OnThemeColorChanged(RenderViewHostImpl* source) {
observers_.ForEachObserver([&](WebContentsObserver* observer) {
observer->DidChangeThemeColor();
});
last_sent_theme_color_ = source->theme_color();
}
}
......
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