Web Inspector: TextContentView calls the wrong super function in shown()
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jul 2014 04:07:41 +0000 (04:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jul 2014 04:07:41 +0000 (04:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=135001

Patch by Saam Barati <sbarati@apple.com> 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):

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

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/TextContentView.js

index 9638f83e5b08835c422f9e58be2f1e6b20eda6bf..02d389e1019b376971ad51fe5876266c7210218d 100644 (file)
@@ -1,3 +1,16 @@
+2014-07-16  Saam Barati  <sbarati@apple.com>
+
+        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  <jonowells@apple.com>
 
         Web Inspector: Modernize UI styles and better sync with platform styles
index c4d28b60620bb0325f00ae86dfcd0b938c8a1c25..3e5f61c6d62325ebfd6fcaab682c78cbb21cb755 100644 (file)
@@ -70,7 +70,7 @@ WebInspector.TextContentView.prototype = {
 
     shown: function()
     {
-        WebInspector.ResourceContentView.prototype.shown.call(this);
+        WebInspector.ContentView.prototype.shown.call(this);
 
         this._textEditor.shown();
     },