SkDocument: remove deprecated function
authorHal Canary <halcanary@google.com>
Fri, 19 May 2017 14:18:47 +0000 (10:18 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 19 May 2017 15:18:21 +0000 (15:18 +0000)
I meant to land this after https://crrev.com/2726103006 ,
but got sidetracked.

Change-Id: I4f0397302d41e89d2394bec545190cb024929bd8
Reviewed-on: https://skia-review.googlesource.com/17390
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>

include/core/SkDocument.h

index 6594511..9204243 100644 (file)
@@ -171,8 +171,6 @@ public:
                                      IXpsOMObjectFactory* xpsFactory,
                                      SkScalar dpi = SK_ScalarDefaultRasterDPI);
 #endif
-    // DEPRECATED; TODO(halcanary): remove this function after Chromium switches to new API.
-    static sk_sp<SkDocument> MakeXPS(SkWStream*) { return nullptr; }
 
     /**
      *  Begin a new page for the document, returning the canvas that will draw