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

Unified Diff: mash/quick_launch/quick_launch_application.cc

Issue 1892143004: Remove disabling of C4267 in 64-bit gn builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix long line Created 4 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 | « components/upload_list/upload_list_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/quick_launch/quick_launch_application.cc
diff --git a/mash/quick_launch/quick_launch_application.cc b/mash/quick_launch/quick_launch_application.cc
index f4ada352b255b57cbb5c3b75499082fcf0d8ea04..f10b77fe06bd527200406ea86268c63ecbdeb886 100644
--- a/mash/quick_launch/quick_launch_application.cc
+++ b/mash/quick_launch/quick_launch_application.cc
@@ -99,7 +99,8 @@ class QuickLaunchUI : public views::WidgetDelegateView,
base::string16 suffix = name;
base::ReplaceSubstringsAfterOffset(&suffix, 0, new_contents,
base::string16());
- gfx::Range range(new_contents.size(), name.size());
+ gfx::Range range(static_cast<uint32_t>(new_contents.size()),
+ static_cast<uint32_t>(name.size()));
prompt_->SetText(name);
prompt_->SelectRange(range);
break;
« no previous file with comments | « components/upload_list/upload_list_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698