aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDocument.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-04-27 12:07:55 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-27 12:07:55 -0700
commiteabaf798249e7fc5d2d636ce8c19f8423b11319e (patch)
tree6202e5803c0035114e551ff67627319d79533842 /include/core/SkDocument.h
parenta4b0fed3b7ea32ecaa16db03ff2fea37461b554f (diff)
SkDocument::CreateXPS fix roll
NOTRY=true TBR=reed@google.com Review-Url: https://codereview.chromium.org/1918713006
Diffstat (limited to 'include/core/SkDocument.h')
-rw-r--r--include/core/SkDocument.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/core/SkDocument.h b/include/core/SkDocument.h
index f06dfa914f..9eed304a40 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
/**