diff options
| author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-24 18:26:43 +0000 |
|---|---|---|
| committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-24 18:26:43 +0000 |
| commit | 3af2b8def636eb36b69b1b334013320646dc7465 (patch) | |
| tree | 653db1cc1d37ef0f0d1f55e8dd4924b2f7747f64 /samplecode/SampleText.cpp | |
| parent | 102b4d57afa42587d0bc9bcbb0bff6fae791af85 (diff) | |
fix warnings:
- initializer order in PictureRenderer.h
- const in xfermode overrides
git-svn-id: http://skia.googlecode.com/svn/trunk@6946 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleText.cpp')
| -rw-r--r-- | samplecode/SampleText.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp index 648321870a..26c122d875 100644 --- a/samplecode/SampleText.cpp +++ b/samplecode/SampleText.cpp @@ -120,7 +120,7 @@ public: SkPowerMode(SkScalar exponent) { this->init(exponent); } virtual void xfer16(uint16_t dst[], const SkPMColor src[], int count, - const SkAlpha aa[]); + const SkAlpha aa[]) const SK_OVERRIDE; typedef SkFlattenable* (*Factory)(SkFlattenableReadBuffer&); @@ -160,7 +160,7 @@ void SkPowerMode::init(SkScalar e) { } void SkPowerMode::xfer16(uint16_t dst[], const SkPMColor src[], int count, - const SkAlpha aa[]) { + const SkAlpha aa[]) const { for (int i = 0; i < count; i++) { SkPMColor c = src[i]; int r = SkGetPackedR32(c); |
