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..e8b6eb9b7996541ab06e1f2ef675a01143e0548a 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; |