aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-05-15 16:06:12 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-15 22:04:23 +0000
commitcc45cc7c17a8317fba6adaf4a8ea5ebf047afd21 (patch)
treec1dd007b286d722cf837c9d17d5f6a45e79bddd3 /docs
parent6a0e54e47931a1d963fc1bbeed203752ae3afde4 (diff)
remove typedef Info
typedef SkImageInfo Info saves a little typing at the cost of obfuscating the parameter type. It's only used in a couple of places so remove it. The documentation catalog has gotten a bit stale, so update that as well. Docs-Preview: https://skia.org/?cl=128400 Bug: skia:6898 Change-Id: I621743a2b2d9a78d5f62742501eebf5f4327efa0 Reviewed-on: https://skia-review.googlesource.com/128400 Commit-Queue: Cary Clark <caryclark@skia.org> Commit-Queue: Brian Salomon <bsalomon@google.com> Auto-Submit: Cary Clark <caryclark@skia.org> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/SkImage_Reference.bmh6
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/SkImage_Reference.bmh b/docs/SkImage_Reference.bmh
index 9cf69d7adb..cd33812263 100644
--- a/docs/SkImage_Reference.bmh
+++ b/docs/SkImage_Reference.bmh
@@ -63,10 +63,6 @@ drawing.
#Populate
##
-#Typedef SkImageInfo Info
-
-##
-
# ------------------------------------------------------------------------------
#Method static sk_sp<SkImage> MakeRasterCopy(const SkPixmap& pixmap)
@@ -115,7 +111,7 @@ contains a copy of the pixels.
# ------------------------------------------------------------------------------
-#Method static sk_sp<SkImage> MakeRasterData(const Info& info, sk_sp<SkData> pixels, size_t rowBytes)
+#Method static sk_sp<SkImage> MakeRasterData(const SkImageInfo& info, sk_sp<SkData> pixels, size_t rowBytes)
#In Constructor
#Line # creates Image from Image_Info and shared pixels ##
Creates Image from Image_Info, sharing pixels.