mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-02 22:30:58 +00:00 
			
		
		
		
	Resulting in a massive rename across almost everywhere! Alongside the namespace change, we now have the following names: * JS::NonnullGCPtr -> GC::Ref * JS::GCPtr -> GC::Ptr * JS::HeapFunction -> GC::Function * JS::CellImpl -> GC::Cell * JS::Handle -> GC::Root
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			815 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			815 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2024, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 */
 | 
						|
 | 
						|
#include <LibWeb/Fetch/Infrastructure/FetchController.h>
 | 
						|
#include <LibWeb/HTML/Navigable.h>
 | 
						|
#include <LibWeb/HTML/NavigationParams.h>
 | 
						|
#include <LibWeb/HTML/Scripting/Environments.h>
 | 
						|
 | 
						|
namespace Web::HTML {
 | 
						|
 | 
						|
GC_DEFINE_ALLOCATOR(NavigationParams);
 | 
						|
GC_DEFINE_ALLOCATOR(NonFetchSchemeNavigationParams);
 | 
						|
 | 
						|
void NavigationParams::visit_edges(Visitor& visitor)
 | 
						|
{
 | 
						|
    Base::visit_edges(visitor);
 | 
						|
    visitor.visit(navigable);
 | 
						|
    visitor.visit(request);
 | 
						|
    visitor.visit(response);
 | 
						|
    visitor.visit(fetch_controller);
 | 
						|
    visitor.visit(reserved_environment);
 | 
						|
}
 | 
						|
 | 
						|
void NonFetchSchemeNavigationParams::visit_edges(Visitor& visitor)
 | 
						|
{
 | 
						|
    Base::visit_edges(visitor);
 | 
						|
    visitor.visit(navigable);
 | 
						|
}
 | 
						|
 | 
						|
}
 |