Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: src/effects/SkBitmapAlphaThresholdShader.cpp

Issue 39973004: Minor changes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/GrResource.h ('k') | src/gpu/GrTexture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/SkBitmapAlphaThresholdShader.cpp
===================================================================
--- src/effects/SkBitmapAlphaThresholdShader.cpp (revision 11939)
+++ src/effects/SkBitmapAlphaThresholdShader.cpp (working copy)
@@ -9,7 +9,7 @@
class BATShader : public SkShader {
public:
- SK_DECLARE_INST_COUNT(SkThresholdShader);
+ SK_DECLARE_INST_COUNT(BATShader);
BATShader(const SkBitmap& bitmap, SkRegion region, U8CPU);
BATShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {
@@ -34,6 +34,8 @@
typedef SkShader INHERITED;
};
+SK_DEFINE_INST_COUNT(BATShader)
+
SkShader* SkBitmapAlphaThresholdShader::Create(const SkBitmap& bitmap,
const SkRegion& region,
U8CPU threshold) {
« no previous file with comments | « include/gpu/GrResource.h ('k') | src/gpu/GrTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698