hide DisplayList::DisposeOps and other lint suggestions (flutter/engine#41464)
Fixes https://github.com/flutter/flutter/issues/125428 Note that these are lint-type fixes and so there are no tests for them.
This commit is contained in:
@@ -257,15 +257,13 @@ class DisplayList : public SkRefCnt {
|
|||||||
|
|
||||||
bool Equals(const DisplayList* other) const;
|
bool Equals(const DisplayList* other) const;
|
||||||
bool Equals(const DisplayList& other) const { return Equals(&other); }
|
bool Equals(const DisplayList& other) const { return Equals(&other); }
|
||||||
bool Equals(sk_sp<const DisplayList> other) const {
|
bool Equals(const sk_sp<const DisplayList>& other) const {
|
||||||
return Equals(other.get());
|
return Equals(other.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool can_apply_group_opacity() const { return can_apply_group_opacity_; }
|
bool can_apply_group_opacity() const { return can_apply_group_opacity_; }
|
||||||
bool isUIThreadSafe() const { return is_ui_thread_safe_; }
|
bool isUIThreadSafe() const { return is_ui_thread_safe_; }
|
||||||
|
|
||||||
static void DisposeOps(uint8_t* ptr, uint8_t* end);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DisplayList(DisplayListStorage&& ptr,
|
DisplayList(DisplayListStorage&& ptr,
|
||||||
size_t byte_count,
|
size_t byte_count,
|
||||||
@@ -279,6 +277,8 @@ class DisplayList : public SkRefCnt {
|
|||||||
|
|
||||||
static uint32_t next_unique_id();
|
static uint32_t next_unique_id();
|
||||||
|
|
||||||
|
static void DisposeOps(uint8_t* ptr, uint8_t* end);
|
||||||
|
|
||||||
const DisplayListStorage storage_;
|
const DisplayListStorage storage_;
|
||||||
const size_t byte_count_;
|
const size_t byte_count_;
|
||||||
const unsigned int op_count_;
|
const unsigned int op_count_;
|
||||||
|
|||||||
Reference in New Issue
Block a user