| Index: components/html_viewer/ax_provider_impl_unittest.cc
|
| diff --git a/components/html_viewer/ax_provider_impl_unittest.cc b/components/html_viewer/ax_provider_impl_unittest.cc
|
| index ebad0b445ed1135fb5bdf374448fc6c3e1e035ed..5dca7457077cdd4599cfde32a3eca7f86145dafa 100644
|
| --- a/components/html_viewer/ax_provider_impl_unittest.cc
|
| +++ b/components/html_viewer/ax_provider_impl_unittest.cc
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "components/html_viewer/ax_provider_impl.h"
|
|
|
| +#include <stddef.h>
|
| +#include <stdint.h>
|
| +
|
| #include "base/bind.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "components/html_viewer/blink_platform_impl.h"
|
| @@ -121,7 +124,7 @@ TEST_F(AxProviderImplTest, Basic) {
|
| ax_provider_impl.GetTree(
|
| base::Bind(&NodeCatcher::OnNodes, base::Unretained(&catcher)));
|
|
|
| - std::map<uint32, AxNode*> lookup;
|
| + std::map<uint32_t, AxNode*> lookup;
|
| for (size_t i = 0; i < catcher.nodes.size(); ++i) {
|
| auto& node = catcher.nodes[i];
|
| lookup[node->id] = node.get();
|
| @@ -164,7 +167,7 @@ TEST_F(AxProviderImplTest, Basic) {
|
| "http://monkey.net/",
|
| "")->Equals(*link));
|
|
|
| - auto is_descendant_of = [&lookup](uint32 id, uint32 ancestor) {
|
| + auto is_descendant_of = [&lookup](uint32_t id, uint32_t ancestor) {
|
| for (; (id = lookup[id]->parent_id) != 0;) {
|
| if (id == ancestor)
|
| return true;
|
|
|