aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkDocument.h2
-rw-r--r--src/doc/SkDocument.cpp1
-rw-r--r--src/doc/SkDocument_PDF.cpp3
-rw-r--r--src/utils/SkLua.cpp2
-rw-r--r--tools/skhello.cpp4
5 files changed, 5 insertions, 7 deletions
diff --git a/include/core/SkDocument.h b/include/core/SkDocument.h
index 5ca0a5cd6e..b1c1fcf9c0 100644
--- a/include/core/SkDocument.h
+++ b/include/core/SkDocument.h
@@ -88,7 +88,7 @@ protected:
private:
SkWStream* fStream;
void (*fDoneProc)(SkWStream*);
- State fState;
+ State fState;
};
#endif
diff --git a/src/doc/SkDocument.cpp b/src/doc/SkDocument.cpp
index 4298b3f595..b051300617 100644
--- a/src/doc/SkDocument.cpp
+++ b/src/doc/SkDocument.cpp
@@ -80,4 +80,3 @@ void SkDocument::close() {
}
}
}
-
diff --git a/src/doc/SkDocument_PDF.cpp b/src/doc/SkDocument_PDF.cpp
index 3d9c46362d..27cf2e88c5 100644
--- a/src/doc/SkDocument_PDF.cpp
+++ b/src/doc/SkDocument_PDF.cpp
@@ -17,7 +17,7 @@ public:
fCanvas = NULL;
fDevice = NULL;
}
-
+
virtual ~SkDocument_PDF() {
// subclasses must call close() in their destructors
this->close();
@@ -89,4 +89,3 @@ SkDocument* SkDocument::CreatePDF(const char path[]) {
}
return SkNEW_ARGS(SkDocument_PDF, (stream, delete_wstream));
}
-
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp
index e56e585323..d1f2633c94 100644
--- a/src/utils/SkLua.cpp
+++ b/src/utils/SkLua.cpp
@@ -618,7 +618,7 @@ static int lsk_newRRect(lua_State* L) {
static int lsk_newTypeface(lua_State* L) {
const char* name = NULL;
int style = SkTypeface::kNormal;
-
+
int count = lua_gettop(L);
if (count > 0 && lua_isstring(L, 1)) {
name = lua_tolstring(L, 1, NULL);
diff --git a/tools/skhello.cpp b/tools/skhello.cpp
index 036b08a00e..bd3174252e 100644
--- a/tools/skhello.cpp
+++ b/tools/skhello.cpp
@@ -35,7 +35,7 @@ static bool do_surface(int w, int h, const char path[], const char text[],
};
SkAutoTUnref<SkSurface> surface(SkSurface::NewRaster(info));
doDraw(surface->getCanvas(), paint, text);
-
+
SkAutoTUnref<SkImage> image(surface->newImageSnapshot());
SkAutoDataUnref data(image->encode());
if (NULL == data.get()) {
@@ -92,7 +92,7 @@ int tool_main(int argc, char** argv) {
{ do_surface, ".png" },
{ do_document, ".pdf" },
};
-
+
for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
SkString file;
file.printf("%s%s", path.c_str(), gRec[i].fSuffix);