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

Unified Diff: components/mus/ws/window_tree.cc

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months 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 | « components/mus/ws/window_tree.h ('k') | components/mus/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree.cc
diff --git a/components/mus/ws/window_tree.cc b/components/mus/ws/window_tree.cc
index fa53c986fb4948d03becb6879f2dc28db6a82c7a..285faec418a14b724d4aff4fc8b3f71bdcf9ae4b 100644
--- a/components/mus/ws/window_tree.cc
+++ b/components/mus/ws/window_tree.cc
@@ -31,7 +31,6 @@
#include "ui/platform_window/text_input_state.h"
using mojo::Array;
-using mojo::Callback;
using mojo::InterfaceRequest;
using mojo::String;
@@ -1120,7 +1119,7 @@ void WindowTree::ReorderWindow(uint32_t change_id,
void WindowTree::GetWindowTree(
Id window_id,
- const Callback<void(Array<mojom::WindowDataPtr>)>& callback) {
+ const base::Callback<void(Array<mojom::WindowDataPtr>)>& callback) {
std::vector<const ServerWindow*> windows(
GetWindowTree(ClientWindowId(window_id)));
callback.Run(WindowsToWindowDatas(windows));
« no previous file with comments | « components/mus/ws/window_tree.h ('k') | components/mus/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698