[Libreoffice-commits] core.git: vcl/skia
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 26 07:41:55 UTC 2020
vcl/skia/win/gdiimpl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6fc261fa1a33fb62e97a8e5beeba7fbb44e8774c
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Feb 25 17:23:21 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Feb 26 08:41:17 2020 +0100
loplugin:external (clang-cl)
Change-Id: I2ea8eaeb9cc2e98d807678ec4716cf58b36f92c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89468
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/skia/win/gdiimpl.cxx b/vcl/skia/win/gdiimpl.cxx
index b90239fdedc2..4d726ec2d215 100644
--- a/vcl/skia/win/gdiimpl.cxx
+++ b/vcl/skia/win/gdiimpl.cxx
@@ -291,6 +291,8 @@ SkiaControlCacheType& SkiaControlsCache::get()
return data->m_pSkiaControlsCache->cache;
}
+namespace
+{
std::unique_ptr<sk_app::WindowContext> createVulkanWindowContext()
{
SkiaZone zone;
@@ -298,8 +300,6 @@ std::unique_ptr<sk_app::WindowContext> createVulkanWindowContext()
return sk_app::window_context_factory::MakeVulkanForWin(0, displayParams);
}
-namespace
-{
struct SetFunction
{
SetFunction() { SkiaHelper::setCreateVulkanWindowContext(createVulkanWindowContext); }
More information about the Libreoffice-commits
mailing list