mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	LibGC: Rename MarkedVector => RootVector
Let's try to make it a bit more clear that this is a Vector of GC roots.
This commit is contained in:
		
							parent
							
								
									ada36e5c0a
								
							
						
					
					
						commit
						3bfb0534be
					
				
				
				Notes:
				
					github-actions[bot]
				
				2024-12-26 18:11:36 +00:00 
				
			
			Author: https://github.com/awesomekling
Commit: 3bfb0534be
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3048
			
					 117 changed files with 281 additions and 281 deletions
				
			
		| 
						 | 
				
			
			@ -7,7 +7,7 @@
 | 
			
		|||
 | 
			
		||||
#include <AK/String.h>
 | 
			
		||||
#include <AK/StringBuilder.h>
 | 
			
		||||
#include <LibGC/MarkedVector.h>
 | 
			
		||||
#include <LibGC/RootVector.h>
 | 
			
		||||
#include <LibJS/Runtime/Completion.h>
 | 
			
		||||
#include <LibJS/Runtime/PropertyDescriptor.h>
 | 
			
		||||
#include <LibJS/Runtime/PropertyKey.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -596,7 +596,7 @@ JS::ThrowCompletionOr<bool> Location::internal_delete(JS::PropertyKey const& pro
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
// 7.10.5.10 [[OwnPropertyKeys]] ( ), https://html.spec.whatwg.org/multipage/history.html#location-ownpropertykeys
 | 
			
		||||
JS::ThrowCompletionOr<GC::MarkedVector<JS::Value>> Location::internal_own_property_keys() const
 | 
			
		||||
JS::ThrowCompletionOr<GC::RootVector<JS::Value>> Location::internal_own_property_keys() const
 | 
			
		||||
{
 | 
			
		||||
    // 1. If IsPlatformObjectSameOrigin(this) is true, then return OrdinaryOwnPropertyKeys(this).
 | 
			
		||||
    if (HTML::is_platform_object_same_origin(*this))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue