Title: [123765] trunk/Source/WebCore
Revision
123765
Author
[email protected]
Date
2012-07-26 09:54:44 -0700 (Thu, 26 Jul 2012)

Log Message

Unreviewed r123761 follow-up, inspector closure compilation fix.

* inspector/front-end/Script.js:
(WebInspector.Script.Location.prototype.uiLocation):
* inspector/front-end/ScriptSnippetModel.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (123764 => 123765)


--- trunk/Source/WebCore/ChangeLog	2012-07-26 16:50:44 UTC (rev 123764)
+++ trunk/Source/WebCore/ChangeLog	2012-07-26 16:54:44 UTC (rev 123765)
@@ -1,3 +1,11 @@
+2012-07-26  Vsevolod Vlasov  <[email protected]>
+
+        Unreviewed r123761 follow-up, inspector closure compilation fix.
+
+        * inspector/front-end/Script.js:
+        (WebInspector.Script.Location.prototype.uiLocation):
+        * inspector/front-end/ScriptSnippetModel.js:
+
 2012-07-26  Patrick Gansterer  <[email protected]>
 
         Cleanup GraphicsContext::(getWindowsContext|releaseWindowsContext)

Modified: trunk/Source/WebCore/inspector/front-end/Script.js (123764 => 123765)


--- trunk/Source/WebCore/inspector/front-end/Script.js	2012-07-26 16:50:44 UTC (rev 123764)
+++ trunk/Source/WebCore/inspector/front-end/Script.js	2012-07-26 16:54:44 UTC (rev 123765)
@@ -222,7 +222,8 @@
      */
     uiLocation: function()
     {
-        return this._script.rawLocationToUILocation(this.rawLocation().lineNumber, this.rawLocation().columnNumber);
+        var debuggerModelLocation = /** @type {WebInspector.DebuggerModel.Location} */ this.rawLocation();
+        return this._script.rawLocationToUILocation(debuggerModelLocation.lineNumber, debuggerModelLocation.columnNumber);
     },
 
     dispose: function()

Modified: trunk/Source/WebCore/inspector/front-end/ScriptSnippetModel.js (123764 => 123765)


--- trunk/Source/WebCore/inspector/front-end/ScriptSnippetModel.js	2012-07-26 16:50:44 UTC (rev 123764)
+++ trunk/Source/WebCore/inspector/front-end/ScriptSnippetModel.js	2012-07-26 16:54:44 UTC (rev 123765)
@@ -551,7 +551,7 @@
 
 /**
  * @constructor
- * @extends {WebInspector.SourceFrame}
+ * @extends {WebInspector._javascript_SourceFrame}
  * @param {WebInspector.ScriptsPanel} scriptsPanel
  * @param {WebInspector.SnippetJavaScriptSource} snippetJavaScriptSource
  */
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to