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

Unified Diff: include/core/SkDocument.h

Issue 1918713006: SkDocument::CreateXPS fix roll (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDocument.h
diff --git a/include/core/SkDocument.h b/include/core/SkDocument.h
index f06dfa914ff8cfbd8ebf770daaddd09c5ad6d08a..9eed304a4030d45201de4b52b1ab02762c6550a1 100644
--- a/include/core/SkDocument.h
+++ b/include/core/SkDocument.h
@@ -184,23 +184,6 @@ public:
return SkDocument::MakePDF(outputFilePath, dpi).release();
}
- /**
- * Create a XPS-backed document, writing the results into the stream.
- * Returns NULL if XPS is not supported.
- */
- static SkDocument* CreateXPS(SkWStream* stream,
- SkScalar dpi = SK_ScalarDefaultRasterDPI) {
- return SkDocument::MakeXPS(stream, dpi).release();
- }
-
- /**
- * Create a XPS-backed document, writing the results into a file.
- * Returns NULL if XPS is not supported.
- */
- static SkDocument* CreateXPS(const char path[],
- SkScalar dpi = SK_ScalarDefaultRasterDPI) {
- return SkDocument::MakeXPS(path, dpi).release();
- }
#endif // SK_SUPPORT_LEGACY_DOCUMENT_API
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698