summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 13:59:28 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 13:59:28 +0000
commit197dd6040a300fa8082c7473ce135357ca5d4b17 (patch)
tree1fa2e45f0d8158e9be22b030e7d29f77a0ee0f87 /chrome/browser/memory_details.cc
parent4b5bcc09e129fa269d419f568126aee8ac588120 (diff)
downloadchromium_src-197dd6040a300fa8082c7473ce135357ca5d4b17.zip
chromium_src-197dd6040a300fa8082c7473ce135357ca5d4b17.tar.gz
chromium_src-197dd6040a300fa8082c7473ce135357ca5d4b17.tar.bz2
Revert 123227 - Extract first version of a RenderWidgetHost interface.
This begins the process of extracting RWH and RVH interfaces and leaving RenderWidgetHostImpl and RenderViewImpl classes in content. There will be parallel inheritance hierarchies, i.e. RWHImpl inherits from RWH, RVH inherits from RWH, RVHImpl inherits from RVH and RWHImpl. Thus, chrome will only see the interfaces. I fully expect that some of the things chrome needs from the RVH interface, once I introduce that, will more properly belong on the RWH interface, in which case I expect to move them there. But first to define the base interfaces. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9432027 TBR=joi@chromium.org Review URL: https://chromiumcodereview.appspot.com/9453010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index d89d882..b93b79c 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -201,7 +201,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
render_process_host->ListenersIterator());
for (; !iter.IsAtEnd(); iter.Advance()) {
const RenderWidgetHost* widget =
- RenderWidgetHost::FromIPCChannelListener(iter.GetCurrentValue());
+ static_cast<const RenderWidgetHost*>(iter.GetCurrentValue());
DCHECK(widget);
if (!widget || !widget->IsRenderView())
continue;