Index: android_webview/browser/aw_browser_context.cc |
diff --git a/android_webview/browser/aw_browser_context.cc b/android_webview/browser/aw_browser_context.cc |
index c2fb5015fc8af2bde03702c61ccf86be63f1b70a..c3fef0ff4b707be950ac052c265a4bbb8bac9192 100644 |
--- a/android_webview/browser/aw_browser_context.cc |
+++ b/android_webview/browser/aw_browser_context.cc |
@@ -194,12 +194,12 @@ void AwBrowserContext::PreMainMessageLoopRun() { |
// is given a GUID, stored in this file in the app's data directory. |
const FilePath guid_file_path = |
GetPath().Append(FILE_PATH_LITERAL("metrics_guid")); |
- |
AwMetricsServiceClient::GetInstance()->Initialize( |
user_pref_service_.get(), |
content::BrowserContext::GetDefaultStoragePartition(this)-> |
GetURLRequestContext(), |
guid_file_path); |
+ |
web_restriction_provider_.reset( |
new web_restrictions::WebRestrictionsClient()); |
pref_change_registrar_.Add( |