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

Unified Diff: content/shell/renderer/ipc_echo.cc

Issue 565013003: Changing the order of initialization WeakPtrFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving the build error Created 6 years, 3 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 | « content/shell/renderer/ipc_echo.h ('k') | content/test/accessibility_browser_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/ipc_echo.cc
diff --git a/content/shell/renderer/ipc_echo.cc b/content/shell/renderer/ipc_echo.cc
index 5eb48007ccf19bc55150445e4d9f5da5bdffedd0..5e41d98337fb09d12c4d425fbbd63bba80051118 100644
--- a/content/shell/renderer/ipc_echo.cc
+++ b/content/shell/renderer/ipc_echo.cc
@@ -82,9 +82,9 @@ void IPCEchoBindings::Install(base::WeakPtr<IPCEcho> echo,
IPCEcho::IPCEcho(blink::WebDocument document,
IPC::Sender* sender,
int routing_id)
- : weak_factory_(this),
- document_(document), sender_(sender), routing_id_(routing_id),
- last_echo_id_(0) {
+ : document_(document), sender_(sender), routing_id_(routing_id),
+ last_echo_id_(0),
+ weak_factory_(this) {
}
IPCEcho::~IPCEcho() {
« no previous file with comments | « content/shell/renderer/ipc_echo.h ('k') | content/test/accessibility_browser_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698