Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
DiscardableStrikePinner Class Reference
Inheritance diagram for DiscardableStrikePinner:
SkStrikePinner

Public Member Functions

 DiscardableStrikePinner (SkDiscardableHandleId discardableHandleId, sk_sp< SkStrikeClient::DiscardableHandleManager > manager)
 
 ~DiscardableStrikePinner () override=default
 
bool canDelete () override
 
void assertValid () override
 
- Public Member Functions inherited from SkStrikePinner
virtual ~SkStrikePinner ()=default
 
virtual bool canDelete ()=0
 
virtual void assertValid ()
 

Detailed Description

Definition at line 569 of file SkChromeRemoteGlyphCache.cpp.

Constructor & Destructor Documentation

◆ DiscardableStrikePinner()

DiscardableStrikePinner::DiscardableStrikePinner ( SkDiscardableHandleId  discardableHandleId,
sk_sp< SkStrikeClient::DiscardableHandleManager manager 
)
inline

Definition at line 571 of file SkChromeRemoteGlyphCache.cpp.

573 : fDiscardableHandleId(discardableHandleId), fManager(std::move(manager)) {}
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font manager
Definition: switches.h:218

◆ ~DiscardableStrikePinner()

DiscardableStrikePinner::~DiscardableStrikePinner ( )
overridedefault

Member Function Documentation

◆ assertValid()

void DiscardableStrikePinner::assertValid ( )
inlineoverridevirtual

Reimplemented from SkStrikePinner.

Definition at line 577 of file SkChromeRemoteGlyphCache.cpp.

577{ fManager->assertHandleValid(fDiscardableHandleId); }
virtual void assertHandleValid(SkDiscardableHandleId)

◆ canDelete()

bool DiscardableStrikePinner::canDelete ( )
inlineoverridevirtual

Implements SkStrikePinner.

Definition at line 576 of file SkChromeRemoteGlyphCache.cpp.

576{ return fManager->deleteHandle(fDiscardableHandleId); }
virtual bool deleteHandle(SkDiscardableHandleId)=0

The documentation for this class was generated from the following file: