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

Unified Diff: ui/accessibility/ax_tree_serializer_unittest.cc

Issue 1550483002: Switch to standard integer types in ui/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-ui-events
Patch Set: 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
« no previous file with comments | « ui/accessibility/ax_tree_serializer.h ('k') | ui/accessibility/ax_tree_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_serializer_unittest.cc
diff --git a/ui/accessibility/ax_tree_serializer_unittest.cc b/ui/accessibility/ax_tree_serializer_unittest.cc
index f1c9133e9b72db1100c48ae134a20ff0d2daf596..ef8420e8354114d9ab5918f251f62a783936a118 100644
--- a/ui/accessibility/ax_tree_serializer_unittest.cc
+++ b/ui/accessibility/ax_tree_serializer_unittest.cc
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -197,8 +201,8 @@ class AXTreeSourceWithInvalidId
// AXTreeSource implementation.
AXTreeData GetTreeData() const override { return AXTreeData(); }
AXNode* GetRoot() const override { return tree_->root(); }
- AXNode* GetFromId(int32 id) const override { return tree_->GetFromId(id); }
- int32 GetId(const AXNode* node) const override { return node->id(); }
+ AXNode* GetFromId(int32_t id) const override { return tree_->GetFromId(id); }
+ int32_t GetId(const AXNode* node) const override { return node->id(); }
void GetChildren(const AXNode* node,
std::vector<const AXNode*>* out_children) const override {
for (int i = 0; i < node->child_count(); ++i)
« no previous file with comments | « ui/accessibility/ax_tree_serializer.h ('k') | ui/accessibility/ax_tree_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698