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

Unified Diff: chrome/browser/android/webapk/webapk_update_manager.cc

Issue 2822623002: [WebAPKs] Fix WebAPK updates when Web Manifest does not specify color (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapk/webapk_update_manager.cc
diff --git a/chrome/browser/android/webapk/webapk_update_manager.cc b/chrome/browser/android/webapk/webapk_update_manager.cc
index be9ab62d528e131e600ba8afc880fa53872edb00..8c3bcce44941afbba5ca0dd23419769f24302f11 100644
--- a/chrome/browser/android/webapk/webapk_update_manager.cc
+++ b/chrome/browser/android/webapk/webapk_update_manager.cc
@@ -83,8 +83,8 @@ static void UpdateAsync(
info.display = static_cast<blink::WebDisplayMode>(java_display_mode);
info.orientation =
static_cast<blink::WebScreenOrientationLockType>(java_orientation);
- info.theme_color = (long)java_theme_color;
- info.background_color = (long)java_background_color;
+ info.theme_color = (int64_t)java_theme_color;
+ info.background_color = (int64_t)java_background_color;
info.best_primary_icon_url = best_primary_icon_url;
info.manifest_url = web_manifest_url;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698