Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js |
index 4f470bf2d4c5e672bfee4dc288f6837d0825197a..9d89be4e5929e2a7bd95748ade3003659a99d6af 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js |
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js |
@@ -1137,7 +1137,7 @@ Console.ConsoleViewMessage = class { |
var target = this._target(); |
if (!target || !errorPrefixes.some(startsWith)) |
return null; |
- var debuggerModel = SDK.DebuggerModel.fromTarget(target); |
+ var debuggerModel = target.model(SDK.DebuggerModel); |
if (!debuggerModel) |
return null; |