Index: chrome/browser/android/shortcut_info.cc |
diff --git a/chrome/browser/android/shortcut_info.cc b/chrome/browser/android/shortcut_info.cc |
index 67e0c5549c344667fdc39db4fc854bd8da65ea7d..78290128fcf9f7404f7f25fd9df9503d63cfe779 100644 |
--- a/chrome/browser/android/shortcut_info.cc |
+++ b/chrome/browser/android/shortcut_info.cc |
@@ -31,6 +31,10 @@ void ShortcutInfo::UpdateFromManifest(const content::Manifest& manifest) { |
if (manifest.display != content::Manifest::DISPLAY_MODE_UNSPECIFIED) |
display = manifest.display; |
+ // Set the theme color based on the manifest value, if any |
+ if (manifest.theme_color != -1) |
mlamouri (slow - plz ping)
2015/07/17 13:28:29
ditto
|
+ theme_color = manifest.theme_color; |
+ |
// 'fullscreen' and 'minimal-ui' are not yet supported, fallback to the right |
// mode in those cases. |
if (manifest.display == content::Manifest::DISPLAY_MODE_FULLSCREEN) |