summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager/extension_information.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/task_manager/extension_information.cc')
-rw-r--r--chrome/browser/task_manager/extension_information.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/task_manager/extension_information.cc b/chrome/browser/task_manager/extension_information.cc
index d95531e..b657adf 100644
--- a/chrome/browser/task_manager/extension_information.cc
+++ b/chrome/browser/task_manager/extension_information.cc
@@ -7,6 +7,7 @@
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/guest_view/guest_view_base.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/task_manager/renderer_resource.h"
@@ -147,7 +148,7 @@ void ExtensionInformation::GetAll(const NewWebContentsCallback& callback) {
bool ExtensionInformation::CheckOwnership(WebContents* web_contents) {
// Don't add WebContents that belong to a guest (those are handled by
// GuestInformation). Otherwise they will be added twice.
- if (web_contents->GetRenderProcessHost()->IsGuest())
+ if (GuestViewBase::IsGuest(web_contents))
return false;
// Extension WebContents tracked by this class will always host extension