aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPixmap.h
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2017-09-05 09:42:43 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-05 15:24:44 +0000
commitec2455bcc938478d5d16e53938ca983a16009687 (patch)
treeeded05545551337fc5e754675ca1d74a8526f5a5 /include/core/SkPixmap.h
parente000173f438dbb364318144c0f253a324685813a (diff)
name parameters for docs
SkPixmap.h is missing a couple of parameter names. Named parameters helps bookmaker generate markdown and doxygen that describe methods and functions. TBR=reed@google.com Bug: skia:6898 Change-Id: I8f9e1acd677e57e71c26c34759ce4647a5db0548 Reviewed-on: https://skia-review.googlesource.com/42380 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'include/core/SkPixmap.h')
-rw-r--r--include/core/SkPixmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h
index 55e38cca4b..2f036e8e15 100644
--- a/include/core/SkPixmap.h
+++ b/include/core/SkPixmap.h
@@ -36,13 +36,13 @@ public:
}
// overrides the colorspace in the SkImageInfo of the pixmap
- void setColorSpace(sk_sp<SkColorSpace>);
+ void setColorSpace(sk_sp<SkColorSpace> colorSpace);
/**
* If supported, set this pixmap to point to the pixels in the specified mask and return true.
* On failure, return false and set this pixmap to empty.
*/
- bool SK_WARN_UNUSED_RESULT reset(const SkMask&);
+ bool SK_WARN_UNUSED_RESULT reset(const SkMask& mask);
/**
* Computes the intersection of area and this pixmap. If that intersection is non-empty,
@@ -205,7 +205,7 @@ public:
bool erase(SkColor, const SkIRect& subset) const;
bool erase(SkColor color) const { return this->erase(color, this->bounds()); }
- bool erase(const SkColor4f&, const SkIRect* subset = nullptr) const;
+ bool erase(const SkColor4f& color, const SkIRect* subset = nullptr) const;
private:
const void* fPixels;