diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-18 03:03:54 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-18 03:03:54 +0000 |
commit | 60bd7519a9db4ddddd95e490f93165e5676f90f5 (patch) | |
tree | 8a04510ab7abf7e543ab3b4ee59c35a2067440d2 /src/utils | |
parent | 5fb2ce38b3dcb8e60e9e112df23c9d42456d7069 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@14252 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/debugger/SkDebugCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp index 22eef6f9a5..18affcb418 100644 --- a/src/utils/debugger/SkDebugCanvas.cpp +++ b/src/utils/debugger/SkDebugCanvas.cpp @@ -109,13 +109,13 @@ public: SkPackARGB32(0xFF, 255, 50, 0), SkPackARGB32(0xFF, 255, 0, 0) }; - + for (size_t i = 0; i < SK_ARRAY_COUNT(gTable)-1; ++i) { if (gTable[i] == dst) { return gTable[i+1]; } } - + return gTable[SK_ARRAY_COUNT(gTable)-1]; } |