summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/inspectable_tab_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/debugger/inspectable_tab_proxy.cc')
-rw-r--r--chrome/browser/debugger/inspectable_tab_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/inspectable_tab_proxy.cc b/chrome/browser/debugger/inspectable_tab_proxy.cc
index e141bca..a329d6a 100644
--- a/chrome/browser/debugger/inspectable_tab_proxy.cc
+++ b/chrome/browser/debugger/inspectable_tab_proxy.cc
@@ -86,9 +86,9 @@ const InspectableTabProxy::ControllersMap&
end = BrowserList::end(); it != end; ++it) {
TabStripModel* model = (*it)->tabstrip_model();
for (int i = 0, size = model->count(); i < size; ++i) {
- NavigationController* controller =
+ NavigationController& controller =
model->GetTabContentsAt(i)->controller();
- controllers_map_[controller->session_id().id()] = controller;
+ controllers_map_[controller.session_id().id()] = &controller;
}
}
}