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

Unified Diff: Source/devtools/front_end/sdk/BreakpointManager.js

Issue 351903003: DevTools: Avoid private member access in non-profiler code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/devtools/front_end/sdk/BreakpointManager.js
diff --git a/Source/devtools/front_end/sdk/BreakpointManager.js b/Source/devtools/front_end/sdk/BreakpointManager.js
index e2fc7ed2ecf9e19492051a563e5a93c844530d4d..704887c3e9167c329c30f90d057faeed505e223c 100644
--- a/Source/devtools/front_end/sdk/BreakpointManager.js
+++ b/Source/devtools/front_end/sdk/BreakpointManager.js
@@ -710,13 +710,13 @@ WebInspector.BreakpointManager.TargetBreakpoint.prototype = {
var uiSourceCode = this._breakpoint.uiSourceCode();
if (!uiSourceCode || !this._breakpoint._enabled)
return;
- var scriptFile = uiSourceCode.scriptFileForTarget(this._target);
+ var scriptFile = uiSourceCode.scriptFileForTarget(this.target());
if (scriptFile && scriptFile.hasDivergedFromVM())
return;
var lineNumber = this._breakpoint._lineNumber;
var columnNumber = this._breakpoint._columnNumber;
- var rawLocation = uiSourceCode.uiLocationToRawLocation(this._target, lineNumber, columnNumber);
+ var rawLocation = uiSourceCode.uiLocationToRawLocation(this.target(), lineNumber, columnNumber);
var debuggerModelLocation = /** @type {!WebInspector.DebuggerModel.Location} */ (rawLocation);
var condition = this._breakpoint.condition();
if (debuggerModelLocation)
« no previous file with comments | « Source/devtools/front_end/components/NativeBreakpointsSidebarPane.js ('k') | Source/devtools/front_end/sdk/LayerTreeModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698