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

Unified Diff: content/browser/renderer_host/socket_stream_dispatcher_host.h

Issue 567923002: Refactoring the weak_ptr_factory order in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/browser/renderer_host/socket_stream_dispatcher_host.h
diff --git a/content/browser/renderer_host/socket_stream_dispatcher_host.h b/content/browser/renderer_host/socket_stream_dispatcher_host.h
index bc0e35ffa5e0ecd4447775adfce6d9812ed8f8ef..d5e988ac1d19bb88e507d6b050078d6a7deaa519 100644
--- a/content/browser/renderer_host/socket_stream_dispatcher_host.h
+++ b/content/browser/renderer_host/socket_stream_dispatcher_host.h
@@ -88,9 +88,10 @@ class SocketStreamDispatcherHost
GetRequestContextCallback request_context_callback_;
ResourceContext* resource_context_;
- base::WeakPtrFactory<SocketStreamDispatcherHost> weak_ptr_factory_;
bool on_shutdown_;
+ base::WeakPtrFactory<SocketStreamDispatcherHost> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SocketStreamDispatcherHost);
};

Powered by Google App Engine
This is Rietveld 408576698