Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: third_party/ktx/ktx.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/ktx/ktx.h ('k') | third_party/libsdl/linux/SDL_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ktx/ktx.cpp
diff --git a/third_party/ktx/ktx.cpp b/third_party/ktx/ktx.cpp
index f7451e822e4279fb2453e28e7c58d75e64d9307b..32985eb3740b220cd9b55af3052210dfdecd0340 100644
--- a/third_party/ktx/ktx.cpp
+++ b/third_party/ktx/ktx.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2014 Google Inc.
*
@@ -328,7 +327,7 @@ bool SkKTXFile::readKTXFile(const uint8_t* data, size_t dataLen) {
}
}
}
-
+
uint32_t imgSizePadded = (imgSize + 3) & ~3;
buf += imgSizePadded;
bytesLeft -= imgSizePadded;
@@ -380,7 +379,7 @@ bool SkKTXFile::WriteETC1ToKTX(SkWStream* stream, const uint8_t *etc1Data,
if (!stream->write(&kKTX_ENDIANNESS_CODE, 4)) {
return false;
}
-
+
Header hdr;
hdr.fGLType = 0;
hdr.fGLTypeSize = 1;
@@ -554,6 +553,6 @@ bool SkKTXFile::WriteBitmapToKTX(SkWStream* stream, const SkBitmap& bitmap) {
rowPtr += bitmap.rowBytes();
}
}
-
+
return true;
}
« no previous file with comments | « third_party/ktx/ktx.h ('k') | third_party/libsdl/linux/SDL_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698