commit | 0a70be9924f55dfa1f43fcac0b834669aa5d6bd4 | [log] [tgz] |
---|---|---|
author | Lucas Furukawa Gadani <[email protected]> | Fri Jun 28 17:31:26 2019 |
committer | Commit Bot <[email protected]> | Fri Jun 28 17:31:26 2019 |
tree | b454d7d074130f296ca0dd50a19473b2ec5b0b0e | |
parent | b93b2a800afd37fd2d54cc9b641004659b5ab8e1 [diff] [blame] |
Remove const interfaces from content/public API. Bug: 908139 Tbr: [email protected], [email protected], [email protected], [email protected] Change-Id: Ic005b1cc50020f130fe216efcc1c01187bcaa9fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680425 Commit-Queue: Lucas Gadani <[email protected]> Reviewed-by: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#673393}
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc index 1f2be47e..0ce64d8 100644 --- a/content/browser/browser_context.cc +++ b/content/browser/browser_context.cc
@@ -825,8 +825,7 @@ "with NetworkService to bypass CORS checks."; } -const SharedCorsOriginAccessList* -BrowserContext::GetSharedCorsOriginAccessList() { +SharedCorsOriginAccessList* BrowserContext::GetSharedCorsOriginAccessList() { // Need to return a valid instance regardless of CORS bypass supports. static const base::NoDestructor<scoped_refptr<SharedCorsOriginAccessList>> empty_list(SharedCorsOriginAccessList::Create());