Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index f394dee..08d0878 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -40,7 +40,7 @@
/** Return the total length of the stream.
*/
size_t getLength() { return this->read(NULL, 0); }
-
+
/** Skip the specified number of bytes, returning the actual number
of bytes that could be skipped.
*/
@@ -91,7 +91,7 @@
virtual void flush();
// helpers
-
+
bool write8(U8CPU);
bool write16(U16CPU);
bool write32(uint32_t);
@@ -101,11 +101,11 @@
bool writeBigDecAsText(int64_t, int minDigits = 0);
bool writeHexAsText(uint32_t, int minDigits = 0);
bool writeScalarAsText(SkScalar);
-
+
bool writeBool(bool v) { return this->write8(v); }
bool writeScalar(SkScalar);
bool writePackedUInt(size_t);
-
+
bool writeStream(SkStream* input, size_t length);
bool writeData(const SkData*);
@@ -161,15 +161,15 @@
*/
SkFDStream(int fileDesc, bool closeWhenDone);
virtual ~SkFDStream();
-
+
/** Returns true if the current path could be opened.
*/
bool isValid() const { return fFD >= 0; }
-
+
virtual bool rewind() SK_OVERRIDE;
virtual size_t read(void* buffer, size_t size) SK_OVERRIDE;
virtual const char* getFileName() SK_OVERRIDE { return NULL; }
-
+
private:
int fFD;
bool fCloseWhenDone;
@@ -222,7 +222,7 @@
const void* getAtPos();
size_t seek(size_t offset);
size_t peek() const { return fOffset; }
-
+
private:
SkData* fData;
size_t fOffset;