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

Unified Diff: content/browser/web_contents/web_contents_android.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/web_contents/web_contents_android.cc
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
index 6475c8708dc939cf2104585d476c34667a4faaad..347fa7b120bc004cfa2e8f03da50bae140b2353d 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -4,6 +4,8 @@
#include "content/browser/web_contents/web_contents_android.h"
+#include <stdint.h>
+
#include "base/android/jni_android.h"
#include "base/android/jni_array.h"
#include "base/android/jni_string.h"
@@ -83,10 +85,10 @@ struct AccessibilitySnapshotParams {
// The current text selection within this tree, if any, expressed as the
// node ID and character offset of the anchor (selection start) and focus
// (selection end).
- int32 sel_anchor_object_id;
- int32 sel_anchor_offset;
- int32 sel_focus_object_id;
- int32 sel_focus_offset;
+ int32_t sel_anchor_object_id;
+ int32_t sel_anchor_offset;
+ int32_t sel_focus_object_id;
+ int32_t sel_focus_offset;
// if the flag is true, mark the leaf node as selected.
bool should_select_leaf_nodes;
};
@@ -143,7 +145,7 @@ ScopedJavaLocalRef<jobject> WalkAXTreeDepthFirst(
env, j_node.obj(), start_selection, end_selection);
}
- for(uint32 i = 0; i < node->PlatformChildCount(); i++) {
+ for (uint32_t i = 0; i < node->PlatformChildCount(); i++) {
BrowserAccessibilityAndroid* child =
static_cast<BrowserAccessibilityAndroid*>(
node->PlatformGetChild(i));
« no previous file with comments | « content/browser/web_contents/web_contents_android.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698