Chromium Code Reviews| Index: chrome/browser/memory_details.cc |
| diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc |
| index c06ed53ede94dc111ce5231eb72cb4ea5192f4b3..583e6809690d6d59583facaf97979a4afc84fc92 100644 |
| --- a/chrome/browser/memory_details.cc |
| +++ b/chrome/browser/memory_details.cc |
| @@ -232,8 +232,8 @@ void MemoryDetails::CollectChildInfoOnUIThread() { |
| TabContents* contents = host_delegate->GetAsTabContents(); |
| if (!contents) { |
| if (extension_process_map->Contains(host->process()->GetID())) { |
| - const Extension* extension = |
| - extension_service->GetExtensionByURL(url); |
| + const Extension* extension = extension_service->extensions()-> |
|
Aaron Boodman
2011/12/09 16:05:20
This doesn't seem like the right wrapping style to
Yoyo Zhou
2011/12/09 19:59:09
Done.
|
| + GetByURL(ExtensionURLInfo(url)); |
|
Aaron Boodman
2011/12/09 16:05:20
This changes the behavior. Previously it would onl
Yoyo Zhou
2011/12/09 19:59:09
Arg. I did look at all of these carefully and my c
|
| if (extension) { |
| string16 title = UTF8ToUTF16(extension->name()); |
| process.titles.push_back(title); |