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

Unified Diff: WebCore/inspector/front-end/ScriptsPanel.js

Issue 6528009: Reverting poor merge of http://trac.webkit.org/changeset/74261 that landed in... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: '' Created 9 years, 10 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
« no previous file with comments | « no previous file | WebCore/inspector/front-end/SourceFrame.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/inspector/front-end/ScriptsPanel.js
===================================================================
--- WebCore/inspector/front-end/ScriptsPanel.js (revision 78533)
+++ WebCore/inspector/front-end/ScriptsPanel.js (working copy)
@@ -245,9 +245,6 @@
// Resource is finished, bind the script right away.
resource.addScript(script);
this._sourceIDMap[sourceID] = resource;
- var view = WebInspector.ResourceManager.existingResourceViewForResource(resource);
- if (view && view.sourceFrame)
- view.sourceFrame.addScript(script);
} else {
// Resource is not finished, bind the script later.
if (!resource._scriptsPendingResourceLoad) {
@@ -315,7 +312,7 @@
return;
// Need to clear breakpoints and re-create them later when editing source.
- var breakpoints = WebInspector.breakpointManager.breakpointsForSourceID(sourceID);
+ var breakpoints = WebInspector.breakpointManager.breakpointsForSourceID(editData.sourceID);
for (var i = 0; i < breakpoints.length; ++i)
breakpoints[i].remove();
« no previous file with comments | « no previous file | WebCore/inspector/front-end/SourceFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698