diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-04 03:02:32 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-04 03:02:32 +0000 |
commit | ade9a3485e78d471f5f0902e9e50a2ec74c88e76 (patch) | |
tree | 812c5c5907c2b84a3b4f6f4902d4e7b876b31ce6 /src/gpu | |
parent | 3b987595293de5a6fadd0f7c8c00eaedf5aca660 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13651 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrAtlas.cpp | 8 | ||||
-rw-r--r-- | src/gpu/GrAtlas.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp index c2fcf46f68..668a73a695 100644 --- a/src/gpu/GrAtlas.cpp +++ b/src/gpu/GrAtlas.cpp @@ -89,9 +89,9 @@ bool GrPlot::addSubImage(int width, int height, const void* image, return true; } -void GrPlot::resetRects() { - SkASSERT(NULL != fRects); - fRects->reset(); +void GrPlot::resetRects() { + SkASSERT(NULL != fRects); + fRects->reset(); } /////////////////////////////////////////////////////////////////////////////// @@ -134,7 +134,7 @@ void GrAtlasMgr::moveToHead(GrPlot* plot) { if (fPlotList.head() == plot) { return; } - + fPlotList.remove(plot); fPlotList.addToHead(plot); }; diff --git a/src/gpu/GrAtlas.h b/src/gpu/GrAtlas.h index ee4ead92a0..7219ab24c2 100644 --- a/src/gpu/GrAtlas.h +++ b/src/gpu/GrAtlas.h @@ -32,7 +32,7 @@ class GrAtlas; class GrPlot { public: SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrPlot); - + int getOffsetX() const { return fOffset.fX; } int getOffsetY() const { return fOffset.fY; } |