Chromium Code Reviews| 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 053de694c5cca6e84e8de1ace8d90ccc4733e52d..7cbb0f35f7917068023212b428721fe6540b921c 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.VBoxWithToolbarItems} |
| + * @extends {WebInspector.View} |
| * @param {string} mimeType |
| * @param {!WebInspector.ContentProvider} contentProvider |
| */ |
| WebInspector.FontView = function(mimeType, contentProvider) |
| { |
| - WebInspector.VBoxWithToolbarItems.call(this); |
| + WebInspector.View.call(this, WebInspector.UIString("Front")); |
|
dgozman
2016/07/20 01:37:16
typo: Front -> Font
|
| this.registerRequiredCSS("source_frame/fontView.css"); |
| this.element.classList.add("font-view"); |
| this._url = contentProvider.contentURL(); |
| @@ -157,5 +157,5 @@ WebInspector.FontView.prototype = { |
| this.fontPreviewElement.style.setProperty("font-size", finalFontSize + "px", null); |
| }, |
| - __proto__: WebInspector.VBoxWithToolbarItems.prototype |
| + __proto__: WebInspector.View.prototype |
| } |