mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	LibWeb: Remove some unused includes and a member in HTMLScriptElement
This commit is contained in:
		
							parent
							
								
									e7af6af626
								
							
						
					
					
						commit
						b1529e3202
					
				
				
				Notes:
				
					sideshowbarker
				
				2024-07-18 03:27:06 +09:00 
				
			
			Author: https://github.com/awesomekling
Commit: b1529e3202
			
					 2 changed files with 0 additions and 6 deletions
				
			
		|  | @ -6,8 +6,6 @@ | |||
| 
 | ||||
| #include <AK/Debug.h> | ||||
| #include <AK/StringBuilder.h> | ||||
| #include <LibJS/Interpreter.h> | ||||
| #include <LibJS/Parser.h> | ||||
| #include <LibTextCodec/Decoder.h> | ||||
| #include <LibWeb/DOM/Document.h> | ||||
| #include <LibWeb/DOM/Event.h> | ||||
|  | @ -23,7 +21,6 @@ namespace Web::HTML { | |||
| 
 | ||||
| HTMLScriptElement::HTMLScriptElement(DOM::Document& document, QualifiedName qualified_name) | ||||
|     : HTMLElement(document, move(qualified_name)) | ||||
|     , m_script_filename("(document)") | ||||
| { | ||||
| } | ||||
| 
 | ||||
|  | @ -291,7 +288,6 @@ void HTMLScriptElement::prepare_script() | |||
|             //    Fetch a classic script given url, settings object, options, classic script CORS setting, and encoding.
 | ||||
|             auto request = LoadRequest::create_for_url_on_page(url, document().page()); | ||||
| 
 | ||||
|             m_script_filename = url.to_string(); | ||||
|             ResourceLoader::the().load( | ||||
|                 request, | ||||
|                 [this, url](auto data, auto&, auto) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling