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

Unified Diff: content/browser/streams/stream_url_request_job.h

Issue 780713002: Fix remaining WeakPtrFactory ordering problems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 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
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host.cc ('k') | content/browser/streams/stream_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/streams/stream_url_request_job.h
diff --git a/content/browser/streams/stream_url_request_job.h b/content/browser/streams/stream_url_request_job.h
index 17e7eb2e3da5b8f22810067748b1d4646cd09b66..05c95515c16f267f63564db53892328da0c47db6 100644
--- a/content/browser/streams/stream_url_request_job.h
+++ b/content/browser/streams/stream_url_request_job.h
@@ -44,7 +44,6 @@ class CONTENT_EXPORT StreamURLRequestJob
void HeadersCompleted(net::HttpStatusCode status_code);
void ClearStream();
- base::WeakPtrFactory<StreamURLRequestJob> weak_factory_;
scoped_refptr<content::Stream> stream_;
bool headers_set_;
scoped_refptr<net::IOBuffer> pending_buffer_;
@@ -55,6 +54,8 @@ class CONTENT_EXPORT StreamURLRequestJob
int max_range_;
bool request_failed_;
+ base::WeakPtrFactory<StreamURLRequestJob> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(StreamURLRequestJob);
};
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host.cc ('k') | content/browser/streams/stream_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698