diff options
author | caryclark <caryclark@google.com> | 2016-05-13 10:57:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-13 10:57:20 -0700 |
commit | d6e18875ce024a341e221db689cedf10d433be8d (patch) | |
tree | b04343fd19f155c6606322dc39813840b07f107e /core/fxge/agg | |
parent | 594b20b485046c954b68734e63e8d2c93fbe4ef5 (diff) | |
download | pdfium-d6e18875ce024a341e221db689cedf10d433be8d.tar.xz |
allow Skia to be the default graphics engine
PDFium uses fxge to denote the graphics engine used
for general rendering. When pdf_use_skia=1 is set,
use Skia as the default engine instead of antigrain.
R=tsepez@chromium.org,dsinclair@chromium.org
Review-Url: https://codereview.chromium.org/1975143002
Diffstat (limited to 'core/fxge/agg')
-rw-r--r-- | core/fxge/agg/fx_agg_driver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxge/agg/fx_agg_driver.cpp b/core/fxge/agg/fx_agg_driver.cpp index ff254f0200..98bce9b7c6 100644 --- a/core/fxge/agg/fx_agg_driver.cpp +++ b/core/fxge/agg/fx_agg_driver.cpp @@ -1794,6 +1794,7 @@ void CFX_AggDeviceDriver::CancelDIBits(void* pHandle) { delete (CFX_ImageRenderer*)pHandle; } +#ifndef _SKIA_SUPPORT_ CFX_FxgeDevice::CFX_FxgeDevice() { m_bOwnedBitmap = FALSE; } @@ -1836,3 +1837,4 @@ CFX_FxgeDevice::~CFX_FxgeDevice() { delete GetBitmap(); } } +#endif |