Changeset 171172 in webkit


Ignore:
Timestamp:
Jul 16, 2014 9:07:41 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: TextContentView calls the wrong super function in shown()
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):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r171134 r171172  
     12014-07-16  Saam Barati  <sbarati@apple.com>
     2
     3        Web Inspector: TextContentView calls the wrong super function in shown()
     4        https://bugs.webkit.org/show_bug.cgi?id=135001
     5
     6        Reviewed by Timothy Hatcher.
     7        TextContentView calls ResourceContentView.shown instead of ContentView.shown.
     8        It should call ContentView.shown because ContentView is its prototype.
     9
     10
     11        * UserInterface/Views/TextContentView.js:
     12        (WebInspector.TextContentView.prototype.shown):
     13
    1142014-07-15  Jonathan Wells  <jonowells@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/TextContentView.js

    r164543 r171172  
    7171    shown: function()
    7272    {
    73         WebInspector.ResourceContentView.prototype.shown.call(this);
     73        WebInspector.ContentView.prototype.shown.call(this);
    7474
    7575        this._textEditor.shown();
Note: See TracChangeset for help on using the changeset viewer.