Title: [171172] trunk/Source/WebInspectorUI
Revision
171172
Author
[email protected]
Date
2014-07-16 21:07:41 -0700 (Wed, 16 Jul 2014)

Log Message

Web Inspector: TextContentView calls the wrong super function in shown()
https://bugs.webkit.org/show_bug.cgi?id=135001

Patch by Saam Barati <[email protected]> on 2014-07-16
Reviewed by Timothy Hatcher.
TextContentView calls ResourceContentView.shown instead of ContentView.shown.
It should call ContentView.shown because ContentView is its prototype.

* UserInterface/Views/TextContentView.js:
(WebInspector.TextContentView.prototype.shown):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (171171 => 171172)


--- trunk/Source/WebInspectorUI/ChangeLog	2014-07-17 03:31:38 UTC (rev 171171)
+++ trunk/Source/WebInspectorUI/ChangeLog	2014-07-17 04:07:41 UTC (rev 171172)
@@ -1,3 +1,16 @@
+2014-07-16  Saam Barati  <[email protected]>
+
+        Web Inspector: TextContentView calls the wrong super function in shown()
+        https://bugs.webkit.org/show_bug.cgi?id=135001
+
+        Reviewed by Timothy Hatcher.
+        TextContentView calls ResourceContentView.shown instead of ContentView.shown.
+        It should call ContentView.shown because ContentView is its prototype.
+
+
+        * UserInterface/Views/TextContentView.js:
+        (WebInspector.TextContentView.prototype.shown):
+
 2014-07-15  Jonathan Wells  <[email protected]>
 
         Web Inspector: Modernize UI styles and better sync with platform styles

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TextContentView.js (171171 => 171172)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TextContentView.js	2014-07-17 03:31:38 UTC (rev 171171)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TextContentView.js	2014-07-17 04:07:41 UTC (rev 171172)
@@ -70,7 +70,7 @@
 
     shown: function()
     {
-        WebInspector.ResourceContentView.prototype.shown.call(this);
+        WebInspector.ContentView.prototype.shown.call(this);
 
         this._textEditor.shown();
     },
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to