diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-08-30 21:02:29 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-08-31 11:37:53 +0200 |
commit | 234ed4bcd5c4b5b41467890b82c6efa08dec559d (patch) | |
tree | a481116f3ce3efcfc26b49676337c5fe5a151623 /vcl/skia/win/gdiimpl.cxx | |
parent | 4a65109b7ab3cafddad113900754260af2dbb4ea (diff) |
reduce code duplication
Change-Id: I31ee84be7ebee7f1644d7fd43bbc951abd2842d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121328
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/skia/win/gdiimpl.cxx')
-rw-r--r-- | vcl/skia/win/gdiimpl.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vcl/skia/win/gdiimpl.cxx b/vcl/skia/win/gdiimpl.cxx index 914e7dbc2159..1dacc71bdf3d 100644 --- a/vcl/skia/win/gdiimpl.cxx +++ b/vcl/skia/win/gdiimpl.cxx @@ -69,18 +69,6 @@ void WinSkiaSalGraphicsImpl::freeResources() {} void WinSkiaSalGraphicsImpl::Flush() { performFlush(); } -void WinSkiaSalGraphicsImpl::performFlush() -{ - SkiaZone zone; - flushDrawing(); - if (mWindowContext) - { - if (mDirtyRect.intersect(SkIRect::MakeWH(GetWidth(), GetHeight()))) - flushSurfaceToWindowContext(mDirtyRect); - mDirtyRect.setEmpty(); - } -} - bool WinSkiaSalGraphicsImpl::TryRenderCachedNativeControl(ControlCacheKey const& rControlCacheKey, int nX, int nY) { |