Index: core/fxge/ge/fx_ge_device.cpp |
diff --git a/core/fxge/ge/fx_ge_device.cpp b/core/fxge/ge/fx_ge_device.cpp |
index 571f90cfa11658217c0ad51202c02ad09fd33f7e..2f4e0a0eec24b11305c8908b5e974cb1f5c39c0a 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<IFX_RenderDeviceDriver> pDriver) { |
m_pDeviceDriver = std::move(pDriver); |