| Index: chrome/browser/memory_details.cc
|
| diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
|
| index 0da07a251f998fc19f0037e94486bf82aa98501a..17ffc26391fb50d327917d0ebfa3014a1dd72e67 100644
|
| --- a/chrome/browser/memory_details.cc
|
| +++ b/chrome/browser/memory_details.cc
|
| @@ -23,6 +23,7 @@
|
| #include "content/public/browser/child_process_data.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| +#include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/render_widget_host.h"
|
| @@ -297,8 +298,8 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
|
| chrome_browser->site_data[contents->GetBrowserContext()];
|
| SiteDetails::CollectSiteInfo(contents, &site_data);
|
|
|
| - bool is_webui =
|
| - rvh->GetEnabledBindings() & content::BINDINGS_POLICY_WEB_UI;
|
| + bool is_webui = rvh->GetMainFrame()->GetEnabledBindings() &
|
| + content::BINDINGS_POLICY_WEB_UI;
|
|
|
| if (is_webui) {
|
| process.renderer_type = ProcessMemoryInformation::RENDERER_CHROME;
|
|
|