mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:32:45 +00:00 
			
		
		
		
	LibWeb: Make Web::Namespace::Foo strings be FlyString
This required dealing with a *lot* of fallout, but it's all basically just switching from DeprecatedFlyString to either FlyString or Optional<FlyString> in a hundred places to accommodate the change.
This commit is contained in:
		
							parent
							
								
									6b20a109c6
								
							
						
					
					
						commit
						3ff81dcb65
					
				
					 31 changed files with 184 additions and 185 deletions
				
			
		|  | @ -58,7 +58,7 @@ Response capture_element_screenshot(Painter const& painter, Page& page, DOM::Ele | |||
|         auto viewport_rect = page.top_level_traversable()->viewport_rect(); | ||||
|         rect.intersect(page.enclosing_device_rect(viewport_rect).to_type<int>()); | ||||
| 
 | ||||
|         auto canvas_element = DOM::create_element(element.document(), HTML::TagNames::canvas, MUST(FlyString::from_deprecated_fly_string(Namespace::HTML))).release_value_but_fixme_should_propagate_errors(); | ||||
|         auto canvas_element = DOM::create_element(element.document(), HTML::TagNames::canvas, Namespace::HTML).release_value_but_fixme_should_propagate_errors(); | ||||
|         auto& canvas = verify_cast<HTML::HTMLCanvasElement>(*canvas_element); | ||||
| 
 | ||||
|         if (!canvas.create_bitmap(rect.width(), rect.height())) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling