Browse Source

Wrong dirty target

Michael Ragazzon 6 years ago
parent
commit
6d4c793a13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Core/ElementStyle.cpp

+ 1 - 1
Source/Core/ElementStyle.cpp

@@ -932,7 +932,7 @@ DirtyPropertyList ElementStyle::ComputeValues(Style::ComputedValues& values, con
 		// Find all dirtied properties which are also inherited
 		const auto& inherited_properties = StyleSheetSpecification::GetRegisteredInheritedProperties();
 		for (PropertyId id : inherited_properties)
-			dirty_properties.Insert(id);
+			dirty_inherited.insert(id);
 	}
 
 	if (all_inherited_dirty || dirty_inherited.size() > 0)