#include "components/viz/common/surfaces/scoped_surface_id_allocator.h"
#include <utility>
#include "components/viz/common/surfaces/parent_local_surface_id_allocator.h"
namespace viz {
ScopedSurfaceIdAllocator::ScopedSurfaceIdAllocator(
base::OnceCallback<void()> allocation_task)
: … { … }
ScopedSurfaceIdAllocator::ScopedSurfaceIdAllocator(
ParentLocalSurfaceIdAllocator* allocator,
base::OnceCallback<void()> allocation_task)
: … { … }
ScopedSurfaceIdAllocator::ScopedSurfaceIdAllocator(
ScopedSurfaceIdAllocator&& other)
: … { … }
ScopedSurfaceIdAllocator& ScopedSurfaceIdAllocator::operator=(
ScopedSurfaceIdAllocator&& other) { … }
ScopedSurfaceIdAllocator::~ScopedSurfaceIdAllocator() { … }
void swap(ScopedSurfaceIdAllocator& first, ScopedSurfaceIdAllocator& second) { … }
}