Przeglądaj źródła

Use the union assignment on dirty inherited properties.

Michael Ragazzon 6 lat temu
rodzic
commit
0b64e0d0b5
1 zmienionych plików z 1 dodań i 1 usunięć
  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()