mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	LibWeb: Update incorrect WEB_PLATFORM_OBJECT base class for two classes
This commit is contained in:
		
							parent
							
								
									b1f8c5879f
								
							
						
					
					
						commit
						00a98c24a2
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -21,7 +21,7 @@ struct StaticRangeInit { | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| class StaticRange final : public AbstractRange { | class StaticRange final : public AbstractRange { | ||||||
|     WEB_PLATFORM_OBJECT(StaticRange, JS::Object); |     WEB_PLATFORM_OBJECT(StaticRange, AbstractRange); | ||||||
| 
 | 
 | ||||||
| public: | public: | ||||||
|     static WebIDL::ExceptionOr<StaticRange*> construct_impl(JS::Realm&, StaticRangeInit& init); |     static WebIDL::ExceptionOr<StaticRange*> construct_impl(JS::Realm&, StaticRangeInit& init); | ||||||
|  |  | ||||||
|  | @ -12,7 +12,7 @@ namespace Web::DOM { | ||||||
| 
 | 
 | ||||||
| // https://dom.spec.whatwg.org/#treewalker
 | // https://dom.spec.whatwg.org/#treewalker
 | ||||||
| class TreeWalker final : public Bindings::PlatformObject { | class TreeWalker final : public Bindings::PlatformObject { | ||||||
|     WEB_PLATFORM_OBJECT(TreeWalker, JS::Object); |     WEB_PLATFORM_OBJECT(TreeWalker, Bindings::PlatformObject); | ||||||
| 
 | 
 | ||||||
| public: | public: | ||||||
|     static JS::NonnullGCPtr<TreeWalker> create(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter>); |     static JS::NonnullGCPtr<TreeWalker> create(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter>); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling