aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BitmapCopyTest.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 /tests/BitmapCopyTest.cpp
parente577693b3be06d90c824538e7eac0b25b0e02a99 (diff)
Style bikeshed - remove extraneous whitespace
Diffstat (limited to 'tests/BitmapCopyTest.cpp')
-rw-r--r--tests/BitmapCopyTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/BitmapCopyTest.cpp b/tests/BitmapCopyTest.cpp
index 5793284e26..216e04273f 100644
--- a/tests/BitmapCopyTest.cpp
+++ b/tests/BitmapCopyTest.cpp
@@ -608,7 +608,7 @@ DEF_TEST(BitmapReadPixels, reporter) {
gRec[i].fRequestedDstSize.height());
bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes,
gRec[i].fRequestedSrcLoc.x(), gRec[i].fRequestedSrcLoc.y());
-
+
REPORTER_ASSERT(reporter, gRec[i].fExpectedSuccess == success);
if (success) {
const SkIRect srcR = gRec[i].fExpectedSrcR;
@@ -695,7 +695,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(BitmapCopy_Texture, reporter, ctx) {
refData = (kRGBA_8888_SkColorType == dstBmp.colorType()) ? kData : swizData;
#elif defined(SK_PMCOLOR_IS_BGRA)
refData = (kBGRA_8888_SkColorType == dstBmp.colorType()) ? kData : swizData;
-#else
+#else
#error "PM Color must be BGRA or RGBA to use GPU backend."
#endif
bool foundError = false;