aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkDevice.cpp1
-rw-r--r--src/gpu/GrLayerCache.h10
2 files changed, 5 insertions, 6 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
index f8a7115aa8..36a8a754c0 100644
--- a/src/core/SkDevice.cpp
+++ b/src/core/SkDevice.cpp
@@ -143,4 +143,3 @@ bool SkBaseDevice::EXPERIMENTAL_drawPicture(SkCanvas* canvas, SkPicture* picture
// The base class doesn't perform any accelerated picture rendering
return false;
}
-
diff --git a/src/gpu/GrLayerCache.h b/src/gpu/GrLayerCache.h
index f671195b35..414b87dbb3 100644
--- a/src/gpu/GrLayerCache.h
+++ b/src/gpu/GrLayerCache.h
@@ -47,9 +47,9 @@ private:
//
// Atlased layers get a ref to their atlas GrTexture and their GrAtlasLocation
// is filled in.
-// In this case GrCachedLayer is roughly equivalent to a GrGlyph in the font
+// In this case GrCachedLayer is roughly equivalent to a GrGlyph in the font
// caching system.
-//
+//
// Non-atlased layers get a ref to the GrTexture in which they reside.
// TODO: can we easily reuse the empty space in the non-atlased GrTexture's?
struct GrCachedLayer {
@@ -65,7 +65,7 @@ public:
}
// This call takes over the caller's ref
- void setTexture(GrTexture* texture) {
+ void setTexture(GrTexture* texture) {
if (NULL != fTexture) {
fTexture->unref();
}
@@ -78,9 +78,9 @@ private:
uint32_t fPictureID;
// fLayerID is only valid when fPicture != kInvalidGenID in which case it
// is the index of this layer in the picture (one of 0 .. #layers).
- int fLayerID;
+ int fLayerID;
- // fTexture is a ref on the atlasing texture for atlased layers and a
+ // fTexture is a ref on the atlasing texture for atlased layers and a
// ref on a GrTexture for non-atlased textures. In both cases, if this is
// non-NULL, that means that the texture is locked in the texture cache.
GrTexture* fTexture;