summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/debug_message_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/debug_message_handler.cc')
-rw-r--r--chrome/renderer/debug_message_handler.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/renderer/debug_message_handler.cc b/chrome/renderer/debug_message_handler.cc
index 27c5885..78ba519 100644
--- a/chrome/renderer/debug_message_handler.cc
+++ b/chrome/renderer/debug_message_handler.cc
@@ -8,8 +8,10 @@
////////////////////////////////////////
// methods called from the RenderThread
-DebugMessageHandler::DebugMessageHandler(RenderView* view) :
- debugger_(NULL), view_(view), channel_(NULL) {
+DebugMessageHandler::DebugMessageHandler(RenderView* view)
+ : debugger_(NULL),
+ view_(view),
+ channel_(NULL) {
view_loop_ = MessageLoop::current();
view_routing_id_ = view_->routing_id();
}
@@ -54,7 +56,7 @@ void DebugMessageHandler::OnBreak(bool force) {
void DebugMessageHandler::OnAttach() {
if (!debugger_) {
- debugger_ = new Debugger(this);
+ debugger_ = new DebuggerBridge(this);
}
// Run the actual debugger attach in the renderer as it uses V8 methods which