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

Unified Diff: Source/devtools/front_end/elements/SharedSidebarModel.js

Issue 1310883002: DevTools: represent ComputedStyle with simple Map (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 5 years, 4 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: Source/devtools/front_end/elements/SharedSidebarModel.js
diff --git a/Source/devtools/front_end/elements/SharedSidebarModel.js b/Source/devtools/front_end/elements/SharedSidebarModel.js
index e322a41e32c9e1f941124b48ea789bfcd1906440..d8606f2d736e375079091eff4f93ecd3dc1a13d6 100644
--- a/Source/devtools/front_end/elements/SharedSidebarModel.js
+++ b/Source/devtools/front_end/elements/SharedSidebarModel.js
@@ -113,7 +113,7 @@ WebInspector.SharedSidebarModel.prototype = {
/**
* @param {!WebInspector.DOMNode} elementNode
- * @param {?WebInspector.CSSStyleDeclaration} style
+ * @param {?Map.<string, string>} style
* @return {?WebInspector.SharedSidebarModel.ComputedStyle}
* @this {WebInspector.SharedSidebarModel}
*/
@@ -135,7 +135,7 @@ WebInspector.SharedSidebarModel.prototype = {
/**
* @constructor
* @param {!WebInspector.DOMNode} node
- * @param {!WebInspector.CSSStyleDeclaration} computedStyle
+ * @param {!Map.<string, string>} computedStyle
*/
WebInspector.SharedSidebarModel.ComputedStyle = function(node, computedStyle)
{

Powered by Google App Engine
This is Rietveld 408576698