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 d14dcc89d5154fa6becbb892410113aec7286ca4..ae6c56fc99e5c588d7e953e1535dcd4e35b081cc 100644 |
--- a/Source/devtools/front_end/audits/AuditRules.js |
+++ b/Source/devtools/front_end/audits/AuditRules.js |
@@ -901,8 +901,8 @@ WebInspector.AuditRules.ImageDimensionsRule.prototype = { |
return; |
if (styles.attributesStyle) { |
- var widthFound = !!styles.attributesStyle.getLiveProperty("width"); |
- var heightFound = !!styles.attributesStyle.getLiveProperty("height"); |
+ var widthFound = !!styles.attributesStyle.getPropertyValue("width"); |
+ var heightFound = !!styles.attributesStyle.getPropertyValue("height"); |
} |
var inlineStyle = styles.inlineStyle; |