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

Unified Diff: LayoutTests/inspector/sources/debugger/breakpoint-manager.html

Issue 464963002: DevTools: Make UISourceCode Target-agnostic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: LayoutTests/inspector/sources/debugger/breakpoint-manager.html
diff --git a/LayoutTests/inspector/sources/debugger/breakpoint-manager.html b/LayoutTests/inspector/sources/debugger/breakpoint-manager.html
index 37f859bb128cab20c32ae2051c0a1296fcdd2030..35194ce144aecebf9d744e5846b41b6cf20362c2 100644
--- a/LayoutTests/inspector/sources/debugger/breakpoint-manager.html
+++ b/LayoutTests/inspector/sources/debugger/breakpoint-manager.html
@@ -292,7 +292,7 @@ function test()
InspectorTest.addResult("\n Toggling source mapping.");
var sourceMapping = createSourceMapping(uiSourceCodeA, uiSourceCodeB);
mockTarget.debuggerModel.pushSourceMapping(sourceMapping);
- uiSourceCodeB.setSourceMappingForTarget(mockTarget, sourceMapping);
+ breakpointManager._debuggerWorkspaceBinding.setSourceMapping(mockTarget, uiSourceCodeB, sourceMapping);
InspectorTest.runAfterPendingBreakpointUpdates(breakpointManager, breakpointActionsPerformedBeforeReload.bind(this));
function breakpointActionsPerformedBeforeReload()
@@ -310,7 +310,7 @@ function test()
InspectorTest.addResult("\n Toggling source mapping.");
var sourceMapping = createSourceMapping(uiSourceCodeA, uiSourceCodeB);
mockTarget.debuggerModel.pushSourceMapping(sourceMapping);
- uiSourceCodeB.setSourceMappingForTarget(mockTarget, sourceMapping);
+ breakpointManager._debuggerWorkspaceBinding.setSourceMapping(mockTarget, uiSourceCodeB, sourceMapping);
InspectorTest.runAfterPendingBreakpointUpdates(breakpointManager, breakpointActionsPerformed.bind(this));
}
@@ -353,7 +353,6 @@ function test()
},
]);
};
-
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698