| Index: chrome/browser/profiles/off_the_record_profile_impl.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| index 21a1d0be906905a1f0d70dab8da9c91b94b54623..6638b4ae77359cadd2ac750d35aa53e28e2989e4 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -48,6 +48,7 @@
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_types.h"
|
| #include "content/public/browser/render_process_host.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "net/base/transport_security_state.h"
|
| #include "net/http/http_server_properties.h"
|
| @@ -279,11 +280,7 @@ net::URLRequestContextGetter*
|
| if (rph && rph->IsGuest()) {
|
| // For guest processes (used by the browser tag), we need to isolate the
|
| // storage.
|
| - // TODO(nasko): Until we have proper storage partitions, create a
|
| - // non-persistent context using the RPH's id.
|
| - std::string id("guest-");
|
| - id.append(base::IntToString(renderer_child_id));
|
| - return GetRequestContextForStoragePartition(id);
|
| + return rph->GetStoragePartition()->GetURLRequestContext();
|
| }
|
|
|
| return GetRequestContext();
|
|
|