Index: content/browser/shared_worker/shared_worker_host.cc |
diff --git a/content/browser/shared_worker/shared_worker_host.cc b/content/browser/shared_worker/shared_worker_host.cc |
index a54ecc33aff031ac76776d0cca1c6d345c6e9d11..3dd43eb1eae2d890187c2525d4d0a644eac94251 100644 |
--- a/content/browser/shared_worker/shared_worker_host.cc |
+++ b/content/browser/shared_worker/shared_worker_host.cc |
@@ -77,13 +77,13 @@ SharedWorkerHost::SharedWorkerHost(SharedWorkerInstance* instance, |
int worker_route_id) |
: instance_(instance), |
worker_document_set_(new WorkerDocumentSet()), |
- weak_factory_(this), |
container_render_filter_(filter), |
worker_process_id_(filter->render_process_id()), |
worker_route_id_(worker_route_id), |
load_failed_(false), |
closed_(false), |
- creation_time_(base::TimeTicks::Now()) { |
+ creation_time_(base::TimeTicks::Now()), |
+ weak_factory_(this) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
} |