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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/one_shot_accessibility_tree_search.cc
diff --git a/content/browser/accessibility/one_shot_accessibility_tree_search.cc b/content/browser/accessibility/one_shot_accessibility_tree_search.cc
index f3daa6b4753dae7c3e0c3d11a94e56c4d70efdf2..8b17f2d9fd23b9ab988d224afe950b72952f1c15 100644
--- a/content/browser/accessibility/one_shot_accessibility_tree_search.cc
+++ b/content/browser/accessibility/one_shot_accessibility_tree_search.cc
@@ -4,6 +4,8 @@
#include "content/browser/accessibility/one_shot_accessibility_tree_search.h"
+#include <stdint.h>
+
#include "base/i18n/case_conversion.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
@@ -115,7 +117,7 @@ void OneShotAccessibilityTreeSearch::SearchByIteratingOverChildren() {
// If start_node_ is specified, iterate over the first child past that
// node.
- uint32 count = scope_node_->PlatformChildCount();
+ uint32_t count = scope_node_->PlatformChildCount();
if (count == 0)
return;
@@ -125,7 +127,7 @@ void OneShotAccessibilityTreeSearch::SearchByIteratingOverChildren() {
while (start_node_ && start_node_->GetParent() != scope_node_)
start_node_ = start_node_->GetParent();
- uint32 index = (direction_ == FORWARDS ? 0 : count - 1);
+ uint32_t index = (direction_ == FORWARDS ? 0 : count - 1);
if (start_node_) {
index = start_node_->GetIndexInParent();
if (direction_ == FORWARDS)

Powered by Google App Engine
This is Rietveld 408576698