From 8f19e4bc617d19e871137be55a34992e421585ad Mon Sep 17 00:00:00 2001 From: weili Date: Thu, 21 Jul 2016 23:26:47 -0700 Subject: Fix skia build broken by commit c38cd6 Add back one function which is only used by Skia code. And make a couple small fixes. Review-Url: https://codereview.chromium.org/2167383002 --- core/fxge/ge/fx_ge_device.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/fxge/ge') diff --git a/core/fxge/ge/fx_ge_device.cpp b/core/fxge/ge/fx_ge_device.cpp index 571f90cfa1..2f4e0a0eec 100644 --- a/core/fxge/ge/fx_ge_device.cpp +++ b/core/fxge/ge/fx_ge_device.cpp @@ -21,6 +21,12 @@ CFX_RenderDevice::CFX_RenderDevice() CFX_RenderDevice::~CFX_RenderDevice() {} +#ifdef _SKIA_SUPPORT_ +void CFX_RenderDevice::Flush() { + m_pDeviceDriver.reset(); +} +#endif + void CFX_RenderDevice::SetDeviceDriver( std::unique_ptr pDriver) { m_pDeviceDriver = std::move(pDriver); -- cgit v1.2.3