Index: chrome/browser/task_manager/extension_information.cc |
diff --git a/chrome/browser/task_manager/extension_information.cc b/chrome/browser/task_manager/extension_information.cc |
index d95531ed572a585ccd82c3e5d492fbabe3d481c0..b657adf7a8986481c2d4ef4f590d6df40ee9d939 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 |