| Index: third_party/WebKit/Source/devtools/front_end/source_frame/FontView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/FontView.js b/third_party/WebKit/Source/devtools/front_end/source_frame/FontView.js
|
| index 4aee6814b5cb98a404ce06095f486444fc289531..210d9703b4fe893e28172cb124dfbfc90b219a7a 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/source_frame/FontView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/source_frame/FontView.js
|
| @@ -28,13 +28,13 @@
|
|
|
| /**
|
| * @constructor
|
| - * @extends {WebInspector.View}
|
| + * @extends {WebInspector.SimpleView}
|
| * @param {string} mimeType
|
| * @param {!WebInspector.ContentProvider} contentProvider
|
| */
|
| WebInspector.FontView = function(mimeType, contentProvider)
|
| {
|
| - WebInspector.View.call(this, WebInspector.UIString("Font"));
|
| + WebInspector.SimpleView.call(this, WebInspector.UIString("Font"));
|
| this.registerRequiredCSS("source_frame/fontView.css");
|
| this.element.classList.add("font-view");
|
| this._url = contentProvider.contentURL();
|
| @@ -54,7 +54,7 @@ WebInspector.FontView.prototype = {
|
| * @override
|
| * @return {!Array<!WebInspector.ToolbarItem>}
|
| */
|
| - toolbarItems: function()
|
| + syncToolbarItems: function()
|
| {
|
| return [this._mimeTypeLabel];
|
| },
|
| @@ -157,5 +157,5 @@ WebInspector.FontView.prototype = {
|
| this.fontPreviewElement.style.setProperty("font-size", finalFontSize + "px", null);
|
| },
|
|
|
| - __proto__: WebInspector.View.prototype
|
| + __proto__: WebInspector.SimpleView.prototype
|
| }
|
|
|