refactor: eliminate duplicate code (#29174)
This commit is contained in:
parent
6330f8be9f
commit
241cceb2c9
10 changed files with 66 additions and 151 deletions
|
@ -118,6 +118,8 @@ class NativeImage : public gin::Wrappable<NativeImage> {
|
|||
float GetAspectRatio(const base::Optional<float> scale_factor);
|
||||
void AddRepresentation(const gin_helper::Dictionary& options);
|
||||
|
||||
void AdjustAmountOfExternalAllocatedMemory(bool add);
|
||||
|
||||
// Mark the image as template image.
|
||||
void SetTemplateImage(bool setAsTemplate);
|
||||
// Determine if the image is a template image.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue