aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-21 03:02:42 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-21 03:02:42 +0000
commit99e5b524ced6d299f129bf572960b87579646bb4 (patch)
treedc6a1eceb3649eca771d9f7c604d247d455bd92d
parent9206da6c9e7cf7ec6502c52143f57c3998dcf0f6 (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13889 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/gpu/SkGpuDevice.h4
-rw-r--r--tests/SurfaceTest.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
index 3e20e1610a..cabbe07dec 100644
--- a/include/gpu/SkGpuDevice.h
+++ b/include/gpu/SkGpuDevice.h
@@ -30,13 +30,13 @@ class GrTextContext;
class SK_API SkGpuDevice : public SkBitmapDevice {
public:
enum Flags {
- kNeedClear_Flag = 1 << 0, //!< Surface requires an initial clear
+ kNeedClear_Flag = 1 << 0, //!< Surface requires an initial clear
kCached_Flag = 1 << 1, //!< Surface is cached and needs to be unlocked when released
};
/**
* Creates an SkGpuDevice from a GrSurface. This will fail if the surface is not a render
- * target. The caller owns a ref on the returned device. If the surface is cached,
+ * target. The caller owns a ref on the returned device. If the surface is cached,
* the kCached_Flag should be specified to make the device responsible for unlocking
* the surface when it is released.
*/
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp
index c0839a5038..705ea14989 100644
--- a/tests/SurfaceTest.cpp
+++ b/tests/SurfaceTest.cpp
@@ -324,13 +324,13 @@ static void TestSurfaceInCache(skiatest::Reporter* reporter,
REPORTER_ASSERT(reporter, expectedCachedResources == context->getGpuTextureCacheResourceCount());
// Verify that all the cached resources are locked in cache.
- context->freeGpuResources();
+ context->freeGpuResources();
REPORTER_ASSERT(reporter, expectedCachedResources == context->getGpuTextureCacheResourceCount());
// Verify that all the cached resources are unlocked upon surface release
surface.reset(0);
context->freeGpuResources();
- REPORTER_ASSERT(reporter, 0 == context->getGpuTextureCacheResourceCount());
+ REPORTER_ASSERT(reporter, 0 == context->getGpuTextureCacheResourceCount());
}
static void Test_crbug263329(skiatest::Reporter* reporter,