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

Unified Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 1485023003: Misc truncation fixes for gn builds with VS 2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes to four more components/content files Created 5 years 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
Index: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 0ee584e861790897901a6d4783229753f7c6ff7e..4f7f7a9b1f52233ccb0af059276e838ab1230053 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -2773,7 +2773,7 @@ STDMETHODIMP BrowserAccessibilityWin::get_attributes(
*num_attribs = max_attribs;
if (*num_attribs > GetHtmlAttributes().size())
- *num_attribs = GetHtmlAttributes().size();
+ *num_attribs = static_cast<unsigned short>(GetHtmlAttributes().size());
for (unsigned short i = 0; i < *num_attribs; ++i) {
attrib_names[i] = SysAllocString(
« no previous file with comments | « components/history/core/browser/history_backend_unittest.cc ('k') | content/browser/indexed_db/indexed_db_leveldb_coding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698