mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 04:42:44 +00:00 
			
		
		
		
	LibHTML: Use NonnullRefPtrVector in LibHTML.
This commit is contained in:
		
							parent
							
								
									48108ec474
								
							
						
					
					
						commit
						7cc9ce8380
					
				
					 5 changed files with 15 additions and 15 deletions
				
			
		|  | @ -73,7 +73,7 @@ void dump_sheet(const StyleSheet& sheet) | |||
| 
 | ||||
|     for (auto& rule : sheet.rules()) { | ||||
|         printf("Rule:\n"); | ||||
|         for (auto& selector : rule->selectors()) { | ||||
|         for (auto& selector : rule.selectors()) { | ||||
|             printf("  Selector:\n"); | ||||
|             for (auto& component : selector.components()) { | ||||
|                 const char* type_description = "Unknown"; | ||||
|  | @ -95,7 +95,7 @@ void dump_sheet(const StyleSheet& sheet) | |||
|             } | ||||
|         } | ||||
|         printf("  Declarations:\n"); | ||||
|         rule->for_each_declaration([](auto& declaration) { | ||||
|         rule.for_each_declaration([](auto& declaration) { | ||||
|             printf("    '%s': '%s'\n", declaration.property_name().characters(), declaration.value().to_string().characters()); | ||||
|         }); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling