diff options
author | caryclark <caryclark@google.com> | 2016-11-16 10:10:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-16 10:10:03 -0800 |
commit | af177fe1c062d20b663a4a1c14924be85d0e631e (patch) | |
tree | 6c8a6dfd9de2f616bc606969e797fe205313e59b /core/fxge/skia/fx_skia_device_unittest.cpp | |
parent | d4f24c79c8b67401bdb1326c03083853326f7554 (diff) | |
download | pdfium-af177fe1c062d20b663a4a1c14924be85d0e631e.tar.xz |
Create a subset of skia support for paths only
This is a continuation of https://codereview.chromium.org/2346483006/
This removes the need for agg, without providing
full Skia support.
It doesn't work yet, but it does compile and run
for simple PDFs.
R=dsinclair@google.com
Committed: https://pdfium.googlesource.com/pdfium/+/5d223298b26c9b2b6284cba9a51521d3873b6e58
Review-Url: https://codereview.chromium.org/2491693002
Diffstat (limited to 'core/fxge/skia/fx_skia_device_unittest.cpp')
-rw-r--r-- | core/fxge/skia/fx_skia_device_unittest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxge/skia/fx_skia_device_unittest.cpp b/core/fxge/skia/fx_skia_device_unittest.cpp index 2c839ed556..c77c8f88e6 100644 --- a/core/fxge/skia/fx_skia_device_unittest.cpp +++ b/core/fxge/skia/fx_skia_device_unittest.cpp @@ -153,6 +153,7 @@ TEST(fxge, SkiaStatePath) { State::Graphic::kPath, 0xFF112233}); } +#ifdef _SKIA_SUPPORT_ TEST(fxge, SkiaStateText) { Harness(&CommonTest, {State::Change::kNo, State::Save::kYes, State::Clip::kDifferentMatrix, @@ -160,6 +161,7 @@ TEST(fxge, SkiaStateText) { Harness(&CommonTest, {State::Change::kNo, State::Save::kYes, State::Clip::kSame, State::Graphic::kText, 0xFF445566}); } +#endif TEST(fxge, SkiaStateOOSClip) { Harness(&OutOfSequenceClipTest, {}); |