diff options
Diffstat (limited to 'sync/tools/sync_client.cc')
-rw-r--r-- | sync/tools/sync_client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc index 4e79e0b..43b63f5 100644 --- a/sync/tools/sync_client.cc +++ b/sync/tools/sync_client.cc @@ -88,7 +88,7 @@ class MyTestURLRequestContextGetter : public net::TestURLRequestContextGetter { virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { // Construct |context_| lazily so it gets constructed on the right // thread (the IO thread). - if (!context_.get()) + if (!context_) context_.reset(new MyTestURLRequestContext()); return context_.get(); } |