summaryrefslogtreecommitdiffstats
path: root/chrome/browser/worker_host
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 21:57:53 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 21:57:53 +0000
commit4361c7ca9c1a850f3c075612bd0e20630b821355 (patch)
tree98b7e5e2f1a4923a4d2df5d97620d8abfd29d4a5 /chrome/browser/worker_host
parent9fabbf77b5b467003287b055aece906a4330de86 (diff)
downloadchromium_src-4361c7ca9c1a850f3c075612bd0e20630b821355.zip
chromium_src-4361c7ca9c1a850f3c075612bd0e20630b821355.tar.gz
chromium_src-4361c7ca9c1a850f3c075612bd0e20630b821355.tar.bz2
Refactor ChromeURLRequestContext to pull out ExtensionInfoMap into a shared
data structure that all the different contexts have a handle to. BUG=56558 TEST=no functional change Review URL: http://codereview.chromium.org/3439017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61120 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/worker_host')
-rw-r--r--chrome/browser/worker_host/worker_process_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/worker_host/worker_process_host.cc b/chrome/browser/worker_host/worker_process_host.cc
index 868ba6c..1c2efd3 100644
--- a/chrome/browser/worker_host/worker_process_host.cc
+++ b/chrome/browser/worker_host/worker_process_host.cc
@@ -414,7 +414,7 @@ void WorkerProcessHost::UpdateTitle() {
// the name of the extension.
std::string extension_name = static_cast<ChromeURLRequestContext*>(
Profile::GetDefaultRequestContext()->GetURLRequestContext())->
- GetNameForExtension(title);
+ extension_info_map()->GetNameForExtension(title);
if (!extension_name.empty()) {
titles.insert(extension_name);
continue;