Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2736)

Unified Diff: chrome/browser/task_manager/task_manager.cc

Issue 8587001: Have ExtensionHost use TabContents instead of RenderViewHost. Try #3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_manager/task_manager.cc
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc
index 914e3f03115a2ef8446fa585306b3520f3fc2fc6..d5ddaf418580741b0f7fb544ef051ba506df6e0b 100644
--- a/chrome/browser/task_manager/task_manager.cc
+++ b/chrome/browser/task_manager/task_manager.cc
@@ -1109,7 +1109,7 @@ int CountExtensionBackgroundPagesForProfile(Profile* profile) {
for (ExtensionProcessManager::const_iterator iter = manager->begin();
iter != manager->end();
++iter) {
- if ((*iter)->GetRenderViewType() ==
+ if ((*iter)->extension_host_type() ==
chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) {
count++;
}

Powered by Google App Engine
This is Rietveld 408576698