aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSpecialImage.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-03-29 09:03:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-29 09:03:53 -0700
commit9d524f22bfde5dc3dc8f48e1be39bdebd3bb0304 (patch)
treefc75ea6f8bc83b552d9ac9c9b4ac0d5a967ee5ac /src/core/SkSpecialImage.cpp
parente577693b3be06d90c824538e7eac0b25b0e02a99 (diff)
Style bikeshed - remove extraneous whitespace
Diffstat (limited to 'src/core/SkSpecialImage.cpp')
-rw-r--r--src/core/SkSpecialImage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/SkSpecialImage.cpp b/src/core/SkSpecialImage.cpp
index b8eabc50bf..681c224ad8 100644
--- a/src/core/SkSpecialImage.cpp
+++ b/src/core/SkSpecialImage.cpp
@@ -166,7 +166,7 @@ public:
}
~SkSpecialImage_Image() override { }
-
+
bool isOpaque() const override { return fImage->isOpaque(); }
size_t getSize() const override {
@@ -200,7 +200,7 @@ public:
bool getBitmapDeprecated(SkBitmap* result) const override {
#if SK_SUPPORT_GPU
if (GrTexture* texture = as_IB(fImage.get())->peekTexture()) {
- const SkImageInfo info = GrMakeInfoFromTexture(texture,
+ const SkImageInfo info = GrMakeInfoFromTexture(texture,
fImage->width(), fImage->height(),
fImage->isOpaque());
if (!result->setInfo(info)) {
@@ -357,7 +357,7 @@ public:
sk_sp<SkSpecialImage> onMakeSubset(const SkIRect& subset) const override {
SkBitmap subsetBM;
-
+
if (!fBitmap.extractSubset(&subsetBM, subset)) {
return nullptr;
}
@@ -415,7 +415,7 @@ sk_sp<SkSpecialImage> SkSpecialImage::MakeFromPixmap(SkImageFilter::Proxy* proxy
#include "SkImage_Gpu.h"
class SkSpecialImage_Gpu : public SkSpecialImage_Base {
-public:
+public:
SkSpecialImage_Gpu(SkImageFilter::Proxy* proxy, const SkIRect& subset,
uint32_t uniqueID, GrTexture* tex, SkAlphaType at)
: INHERITED(proxy, subset, uniqueID)
@@ -447,7 +447,7 @@ public:
GrTexture* onPeekTexture() const override { return fTexture; }
bool getBitmapDeprecated(SkBitmap* result) const override {
- const SkImageInfo info = GrMakeInfoFromTexture(fTexture,
+ const SkImageInfo info = GrMakeInfoFromTexture(fTexture,
this->width(), this->height(),
this->isOpaque());
if (!result->setInfo(info)) {
@@ -463,7 +463,7 @@ public:
bool testingOnlyOnGetROPixels(SkBitmap* result) const override {
- const SkImageInfo info = SkImageInfo::MakeN32(this->width(),
+ const SkImageInfo info = SkImageInfo::MakeN32(this->width(),
this->height(),
this->isOpaque() ? kOpaque_SkAlphaType
: kPremul_SkAlphaType);
@@ -495,7 +495,7 @@ public:
return SkSpecialImage::MakeFromGpu(this->internal_getProxy(),
subset,
this->uniqueID(),
- fTexture,
+ fTexture,
fAlphaType);
}
@@ -536,7 +536,7 @@ private:
};
sk_sp<SkSpecialImage> SkSpecialImage::MakeFromGpu(SkImageFilter::Proxy* proxy,
- const SkIRect& subset,
+ const SkIRect& subset,
uint32_t uniqueID,
GrTexture* tex,
SkAlphaType at) {