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

Unified Diff: ui/app_list/search_result.h

Issue 1671403002: Switch gfx::Range to use uint32_t instead of size_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 10 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 | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/gfx/ipc/gfx_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result.h
diff --git a/ui/app_list/search_result.h b/ui/app_list/search_result.h
index a0865479c25afad12fd6a4acc4aa45a6c6d95004..130e30cc249bd8c211669830c587e0bc6a8b2b78 100644
--- a/ui/app_list/search_result.h
+++ b/ui/app_list/search_result.h
@@ -57,8 +57,7 @@ class APP_LIST_EXPORT SearchResult {
Tag(int styles, size_t start, size_t end)
: styles(styles),
- range(start, end) {
- }
+ range(static_cast<uint32_t>(start), static_cast<uint32_t>(end)) {}
int styles;
gfx::Range range;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/gfx/ipc/gfx_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698