Unreviewed, rolling out r103405.
[WebKit-https.git] / Source / WebCore / inspector / front-end / Script.js
index 21cfbf1ca7d2a659753167a2634ee7402a144194..bd2a77b337686a75acd4dca9dc9f05c8a30168f8 100644 (file)
@@ -33,7 +33,7 @@
  * @param {number} endColumn
  * @param {boolean} isContentScript
  */
-WebInspector.Script = function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL)
+WebInspector.Script = function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript)
 {
     this.scriptId = scriptId;
     this.sourceURL = sourceURL;
@@ -42,7 +42,6 @@ WebInspector.Script = function(scriptId, sourceURL, startLine, startColumn, endL
     this.endLine = endLine;
     this.endColumn = endColumn;
     this.isContentScript = isContentScript;
-    this.sourceMapURL = sourceMapURL;
 }
 
 WebInspector.Script.prototype = {
@@ -97,14 +96,14 @@ WebInspector.Script.prototype = {
             }
             callback(result || []);
         }
-
+        
         if (this.scriptId) {
             // Script failed to parse.
             DebuggerAgent.searchInContent(this.scriptId, query, caseSensitive, isRegex, innerCallback.bind(this));
         } else
             callback([]);
     },
-
+    
     /**
      * @param {string} newSource
      * @param {function(?Protocol.Error, Array.<DebuggerAgent.CallFrame>=)} callback