Browse Source

Use the union assignment on dirty inherited properties.

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

+ 1 - 1
Source/Core/ElementStyle.cpp

@@ -422,7 +422,7 @@ void ElementStyle::DirtyDefinition()
 
 void ElementStyle::DirtyInheritedProperties()
 {
-	dirty_properties = StyleSheetSpecification::GetRegisteredInheritedProperties();
+	dirty_properties |= StyleSheetSpecification::GetRegisteredInheritedProperties();
 }
 
 void ElementStyle::DirtyChildDefinitions()