Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1548)

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js

Issue 2144923002: DevTools: remove the ComputedStyles -> Styles pane dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f4067cf6ad408b75937ff14a135a06a66d8c47c8..ed0edd6c22d1195504b2b706b2bbb6e46af895f7 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
@@ -31,7 +31,7 @@
/**
* @constructor
* @extends {WebInspector.ThrottledWidget}
- * @param {!WebInspector.SharedSidebarModel} sharedModel
+ * @param {!WebInspector.ComputedStyleModel} sharedModel
*/
WebInspector.PlatformFontsWidget = function(sharedModel)
{
@@ -39,7 +39,7 @@ WebInspector.PlatformFontsWidget = function(sharedModel)
this.registerRequiredCSS("elements/platformFontsWidget.css");
this._sharedModel = sharedModel;
- this._sharedModel.addEventListener(WebInspector.SharedSidebarModel.Events.ComputedStyleChanged, this.update, this);
+ this._sharedModel.addEventListener(WebInspector.ComputedStyleModel.Events.ComputedStyleChanged, this.update, this);
this._sectionTitle = createElementWithClass("div", "title");
this.contentElement.appendChild(this._sectionTitle);
@@ -48,7 +48,7 @@ WebInspector.PlatformFontsWidget = function(sharedModel)
}
/**
- * @param {!WebInspector.SharedSidebarModel} sharedModel
+ * @param {!WebInspector.ComputedStyleModel} sharedModel
* @return {!WebInspector.ElementsSidebarViewWrapperPane}
*/
WebInspector.PlatformFontsWidget.createSidebarWrapper = function(sharedModel)

Powered by Google App Engine
This is Rietveld 408576698