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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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: components/mus/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index 95b8b1c5093d5278cf49470701e045b547d62a03..c6fd71915bcbe97e44d48cc882be067102ca301f 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -4,6 +4,8 @@
#include "components/mus/public/cpp/lib/window_tree_client_impl.h"
+#include <stddef.h>
+
#include "base/bind.h"
#include "components/mus/common/util.h"
#include "components/mus/public/cpp/input_event_handler.h"
@@ -387,7 +389,7 @@ void WindowTreeClientImpl::OnEmbedImpl(mojom::WindowTree* window_tree,
ConnectionSpecificId connection_id,
mojom::WindowDataPtr root_data,
Id focused_window_id,
- uint32 access_policy) {
+ uint32_t access_policy) {
tree_ = window_tree;
connection_id_ = connection_id;
is_embed_root_ =
@@ -466,7 +468,7 @@ void WindowTreeClientImpl::OnEmbed(ConnectionSpecificId connection_id,
mojom::WindowDataPtr root_data,
mojom::WindowTreePtr tree,
Id focused_window_id,
- uint32 access_policy) {
+ uint32_t access_policy) {
DCHECK(!tree_ptr_);
tree_ptr_ = std::move(tree);
tree_ptr_.set_connection_error_handler([this]() { delete this; });
@@ -679,7 +681,7 @@ void WindowTreeClientImpl::OnWindowPredefinedCursorChanged(
WindowPrivate(window).LocalSetPredefinedCursor(cursor);
}
-void WindowTreeClientImpl::OnChangeCompleted(uint32 change_id, bool success) {
+void WindowTreeClientImpl::OnChangeCompleted(uint32_t change_id, bool success) {
scoped_ptr<InFlightChange> change(std::move(in_flight_map_[change_id]));
in_flight_map_.erase(change_id);
if (!change)
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.h ('k') | components/mus/public/cpp/scoped_window_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698