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

Unified Diff: ipc/mojo/async_handle_waiter.h

Issue 848533003: Move WeakPtrFactory to the end of AsyncHandleWaiter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | ipc/mojo/async_handle_waiter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/mojo/async_handle_waiter.h
diff --git a/ipc/mojo/async_handle_waiter.h b/ipc/mojo/async_handle_waiter.h
index 187e2f6cec81a54961ae7b84b6a60862d0d88d5f..c8515f178a12ef6e9a32c322c12d2dba99abfb9b 100644
--- a/ipc/mojo/async_handle_waiter.h
+++ b/ipc/mojo/async_handle_waiter.h
@@ -32,9 +32,9 @@ class IPC_MOJO_EXPORT AsyncHandleWaiter {
private:
void InvokeCallback(MojoResult result);
- base::WeakPtrFactory<AsyncHandleWaiter> weak_factory_;
scoped_refptr<Context> context_;
base::Callback<void(MojoResult)> callback_;
+ base::WeakPtrFactory<AsyncHandleWaiter> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(AsyncHandleWaiter);
};
« no previous file with comments | « no previous file | ipc/mojo/async_handle_waiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698