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

Unified Diff: content/browser/shared_worker/shared_worker_host.h

Issue 598483002: Fix WeakPtrFactory member ordering in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed order of friend class 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/shared_worker/shared_worker_host.h
diff --git a/content/browser/shared_worker/shared_worker_host.h b/content/browser/shared_worker/shared_worker_host.h
index 6b0b12cd8f2dcfdaf38cca8e473ad9e3076eff7b..e729589c2eef919a38b91f9fa883c262118d4bf6 100644
--- a/content/browser/shared_worker/shared_worker_host.h
+++ b/content/browser/shared_worker/shared_worker_host.h
@@ -124,7 +124,6 @@ class SharedWorkerHost {
bool allowed);
scoped_ptr<SharedWorkerInstance> instance_;
scoped_refptr<WorkerDocumentSet> worker_document_set_;
- base::WeakPtrFactory<SharedWorkerHost> weak_factory_;
FilterList filters_;
SharedWorkerMessageFilter* container_render_filter_;
int worker_process_id_;
@@ -132,6 +131,9 @@ class SharedWorkerHost {
bool load_failed_;
bool closed_;
const base::TimeTicks creation_time_;
+
+ base::WeakPtrFactory<SharedWorkerHost> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SharedWorkerHost);
};
} // namespace content
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/shared_worker/shared_worker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698