Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(742)

Unified Diff: core/fxge/ge/fx_ge_device.cpp

Issue 2167383002: Fix skia build broken by commit c38cd6 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fxge/include/fx_ge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | core/fxge/include/fx_ge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698