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

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

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for initial review. Created 8 years, 10 months 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 056bc7d5bcf0cca4d648e61d6dcf046c8cccd235..e0c93f4daadba9abcb1c5a6a0a9122200ed855e6 100644
--- a/chrome/browser/task_manager/task_manager.cc
+++ b/chrome/browser/task_manager/task_manager.cc
@@ -827,7 +827,7 @@ void TaskManagerModel::NotifyFPS(base::ProcessId renderer_id,
for (ResourceList::iterator it = resources_.begin();
it != resources_.end(); ++it) {
if (base::GetProcId((*it)->GetProcess()) == renderer_id &&
- (*it)->GetRoutingId() == routing_id) {
+ (*it)->GetRoutingID() == routing_id) {
(*it)->NotifyFPS(fps);
}
}
@@ -1050,7 +1050,7 @@ void TaskManager::ActivateProcess(int index) {
TabContentsWrapper* chosen_tab_contents =
model_->GetResourceTabContents(index);
if (chosen_tab_contents) {
- chosen_tab_contents->web_contents()->GetRenderViewHost()->delegate()->
+ chosen_tab_contents->web_contents()->GetRenderViewHost()->GetDelegate()->
Activate();
}
}

Powered by Google App Engine
This is Rietveld 408576698