aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/GrAtlas.cpp8
-rw-r--r--src/gpu/GrAtlas.h2
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; }