Index: Source/devtools/front_end/audits/AuditRules.js |
diff --git a/Source/devtools/front_end/audits/AuditRules.js b/Source/devtools/front_end/audits/AuditRules.js |
index 53122eecf8cf6652de95bba0158ebf7cabd402ee..d14dcc89d5154fa6becbb892410113aec7286ca4 100644 |
--- a/Source/devtools/front_end/audits/AuditRules.js |
+++ b/Source/devtools/front_end/audits/AuditRules.js |
@@ -897,7 +897,7 @@ WebInspector.AuditRules.ImageDimensionsRule.prototype = { |
if (completeSrc) |
src = completeSrc; |
- if (styles.computedStyle.getPropertyValue("position") === "absolute") |
+ if (styles.computedStyle.get("position") === "absolute") |
return; |
if (styles.attributesStyle) { |
@@ -961,7 +961,7 @@ WebInspector.AuditRules.ImageDimensionsRule.prototype = { |
} |
/** |
- * @param {?WebInspector.CSSStyleDeclaration} computedStyle |
+ * @param {?Map.<string, string>} computedStyle |
*/ |
function computedCallback(computedStyle) |
{ |