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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/source-map-http-header.html

Issue 2752403002: [DevTools] Migrate usages of Target to RuntimeModel where makes sense (Closed)
Patch Set: review comments addressed Created 3 years, 9 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: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/source-map-http-header.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/source-map-http-header.html b/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/source-map-http-header.html
index b3bf4ff5f109cd0b37aa2df61533898d726da26f..1e97790123b875aa84c4199d7226b67ff47fcb79 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/source-map-http-header.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/source-map-http-header.html
@@ -16,8 +16,7 @@ var test = function()
{
InspectorTest.addResult("Reloading...");
- var mainTarget = SDK.targetManager.mainTarget();
- var debuggerModel = SDK.DebuggerModel.fromTarget(mainTarget);
+ var debuggerModel = InspectorTest.debuggerModel;
debuggerModel.addEventListener(SDK.DebuggerModel.Events.ParsedScriptSource, onScriptAdded);
function onScriptAdded(event)
{

Powered by Google App Engine
This is Rietveld 408576698