skia2/include/utils
djsollen@google.com 54924243c1 Cleanup code related to SkFlattenable::flatten()
The following changes were made by this CL:

1. Make flatten() a protected method as callers should use
   SkFlattenableWriteBuffer to flatten an object
2. Make flatten a const method (including subclasses)
3. Mark subclass implementation of flatten with SK_OVERRIDE
4. Ensure overridden flatten impls call their parent
5. Remove no-op implementations of flatten from subclasses

Additionally, if necessary the unflattening constructor was
also moved to the protected section of the subclasses
header if it was not already there.

git-svn-id: http://skia.googlecode.com/svn/trunk@3540 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-29 15:18:04 +00:00
..
ios Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
mac add SkCreateDataProviderFromStream to SkCGUtils 2012-02-24 15:29:00 +00:00
win Add xps device to skia. 2011-10-10 13:19:10 +00:00
SkBoundaryPatch.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkCamera.h Upstream changes from Android repository. 2012-03-21 15:39:03 +00:00
SkCubicInterval.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkCullPoints.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkDeferredCanvas.h reverting r3268 because of test failures 2012-02-28 15:27:59 +00:00
SkDumpCanvas.h Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
SkInterpolator.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkJSON.h add count(), fix bad llist logic in remove() 2012-01-04 11:37:46 +00:00
SkLayer.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkMatrix44.h warning fixes 2011-10-27 21:47:03 +00:00
SkMeshUtils.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkNinePatch.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkNWayCanvas.h Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
SkParse.h Make SkMath.h less visible in public header files. 2011-09-27 17:38:17 +00:00
SkParsePaint.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkParsePath.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkProxyCanvas.h Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
SkSfntUtils.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkUnitMappers.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkWGL.h Remove suffixes from SK_wGL macros 2011-12-01 16:50:24 +00:00