summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/debugger_node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/debugger/debugger_node.cc')
-rw-r--r--chrome/browser/debugger/debugger_node.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_node.cc b/chrome/browser/debugger/debugger_node.cc
index c22bd7f..0beedce 100644
--- a/chrome/browser/debugger/debugger_node.cc
+++ b/chrome/browser/debugger/debugger_node.cc
@@ -291,12 +291,12 @@ v8::Handle<v8::Value> TabListNode::IndexGetter(uint32_t index,
/////////////////////////////////////////////
TabNode::TabNode(TabContents *c) {
- data_ = c->controller();
+ data_ = &c->controller();
NotificationService* service = NotificationService::current();
DCHECK(service);
service->AddObserver(this, NotificationType::TAB_CLOSING,
- Source<NavigationController>(c->controller()));
+ Source<NavigationController>(&c->controller()));
observing_ = true;
}