Index: chromecast/browser/cast_browser_main_parts.cc |
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc |
index 6bc4ecd79c4db8ffad5b3f2c0ca187168a18cd1e..f07ca2628502032e30290bebf1fc2294292bfd99 100644 |
--- a/chromecast/browser/cast_browser_main_parts.cc |
+++ b/chromecast/browser/cast_browser_main_parts.cc |
@@ -50,7 +50,6 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/child_process_security_policy.h" |
#include "content/public/browser/gpu_data_manager.h" |
-#include "content/public/browser/storage_partition.h" |
#include "content/public/common/content_switches.h" |
#include "gpu/command_buffer/service/gpu_switches.h" |
#include "media/audio/audio_manager.h" |
@@ -401,9 +400,7 @@ |
metrics::CastMetricsServiceClient::Create( |
content::BrowserThread::GetBlockingPool(), |
cast_browser_process_->pref_service(), |
- content::BrowserContext::GetDefaultStoragePartition( |
- cast_browser_process_->browser_context())-> |
- GetURLRequestContext())); |
+ cast_browser_process_->browser_context()->GetRequestContext())); |
if (!PlatformClientAuth::Initialize()) |
LOG(ERROR) << "PlatformClientAuth::Initialize failed."; |