Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / content / shell / geolocation / shell_access_token_store.cc
index cec481d..bdcf699 100644 (file)
@@ -45,7 +45,8 @@ void ShellAccessTokenStore::RespondOnOriginatingThread(
   // we provide a dummy access_token set to avoid hitting the server.
   AccessTokenSet access_token_set;
   access_token_set[GURL()] = base::ASCIIToUTF16("chromium_content_shell");
-  callback.Run(access_token_set, system_request_context_);
+  callback.Run(access_token_set, system_request_context_.get());
+  system_request_context_ = NULL;
 }
 
 void ShellAccessTokenStore::SaveAccessToken(