LibWeb: Add m_ prefix to surface member in SkiaSurface

This commit is contained in:
Aliaksandr Kalenik 2024-07-01 15:43:18 +02:00 committed by Alexander Kalenik
parent 330d5996ed
commit 3f97f73316
Notes: sideshowbarker 2024-07-17 06:00:02 +09:00

View File

@ -40,15 +40,15 @@ namespace Web::Painting {
class DisplayListPlayerSkia::SkiaSurface { class DisplayListPlayerSkia::SkiaSurface {
public: public:
SkCanvas& canvas() const { return *surface->getCanvas(); } SkCanvas& canvas() const { return *m_surface->getCanvas(); }
SkiaSurface(sk_sp<SkSurface> surface) SkiaSurface(sk_sp<SkSurface> surface)
: surface(move(surface)) : m_surface(move(surface))
{ {
} }
private: private:
sk_sp<SkSurface> surface; sk_sp<SkSurface> m_surface;
}; };
#ifdef AK_OS_MACOS #ifdef AK_OS_MACOS