| Index: third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
|
| index ed0edd6c22d1195504b2b706b2bbb6e46af895f7..7c8d6f586c1fbcfa1fb6d1c7bb617ea9d5f98f7e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
|
| @@ -30,12 +30,12 @@
|
|
|
| /**
|
| * @constructor
|
| - * @extends {WebInspector.ThrottledWidget}
|
| + * @extends {WebInspector.ThrottledView}
|
| * @param {!WebInspector.ComputedStyleModel} sharedModel
|
| */
|
| WebInspector.PlatformFontsWidget = function(sharedModel)
|
| {
|
| - WebInspector.ThrottledWidget.call(this, true);
|
| + WebInspector.ThrottledView.call(this, WebInspector.UIString("Fonts"), true);
|
| this.registerRequiredCSS("elements/platformFontsWidget.css");
|
|
|
| this._sharedModel = sharedModel;
|
| @@ -47,16 +47,6 @@ WebInspector.PlatformFontsWidget = function(sharedModel)
|
| this._fontStatsSection = this.contentElement.createChild("div", "stats-section");
|
| }
|
|
|
| -/**
|
| - * @param {!WebInspector.ComputedStyleModel} sharedModel
|
| - * @return {!WebInspector.ElementsSidebarViewWrapperPane}
|
| - */
|
| -WebInspector.PlatformFontsWidget.createSidebarWrapper = function(sharedModel)
|
| -{
|
| - var widget = new WebInspector.PlatformFontsWidget(sharedModel);
|
| - return new WebInspector.ElementsSidebarViewWrapperPane(WebInspector.UIString("Fonts"), widget)
|
| -}
|
| -
|
| WebInspector.PlatformFontsWidget.prototype = {
|
| /**
|
| * @override
|
| @@ -111,5 +101,5 @@ WebInspector.PlatformFontsWidget.prototype = {
|
| }
|
| },
|
|
|
| - __proto__: WebInspector.ThrottledWidget.prototype
|
| + __proto__: WebInspector.ThrottledView.prototype
|
| }
|
|
|