skia2/include
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
..
animator Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
config Open type table definitions. 2012-02-02 19:15:21 +00:00
core Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
device/xps Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
effects Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
gpu Revert 3507 2012-03-28 21:34:22 +00:00
images Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
pdf [PDF] Move most of the headers to be private. 2012-03-22 20:45:15 +00:00
pipe undef Status to undo the evil that XLib.h has done 2011-08-12 14:49:55 +00:00
ports Add CreateFallbackForScript to SkTypeface for Android. 2012-03-15 15:49:51 +00:00
svg Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
text Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
utils Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
views Move SkTextBox.h from utils to views. 2012-03-28 20:01:06 +00:00
xml Make SkMath.h less visible in public header files. 2011-09-27 17:38:17 +00:00