2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Dec 2010 13:02:17 +0000 (13:02 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Dec 2010 13:02:17 +0000 (13:02 +0000)
        Reviewed by Pavel Feldman.

        Web Inspector: [REGRESSION] WebInspector.ResourcesPanel.prototype.canShowSourceLine() broken.

        https://bugs.webkit.org/show_bug.cgi?id=51709

        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.canShowSourceLine):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@74830 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/inspector/front-end/ResourcesPanel.js

index b13feb893ca09091be24d4cf770f2632e2dc40d5..778dc26c32058348d76711cad09d2559cfd0331d 100644 (file)
@@ -1,3 +1,14 @@
+2010-12-31  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: [REGRESSION] WebInspector.ResourcesPanel.prototype.canShowSourceLine() broken.
+
+        https://bugs.webkit.org/show_bug.cgi?id=51709
+
+        * inspector/front-end/ResourcesPanel.js:
+        (WebInspector.ResourcesPanel.prototype.canShowSourceLine):
+
 2010-12-31  Patrick Gansterer  <paroga@webkit.org>
 
         Unreviewed build fix after r74800.
index ee63daf66737dd2bc4c148c197873050d96718bd..ecb826fbe9952ddce565644a44e58fc37d1ca2a9 100644 (file)
@@ -329,7 +329,7 @@ WebInspector.ResourcesPanel.prototype = {
 
     canShowSourceLine: function(url, line)
     {
-        return !!WebInspector.resourceView.resourceForURL(url);
+        return !!WebInspector.resourceTreeModel.resourceForURL(url);
     },
 
     showSourceLine: function(url, line)