skia2/include
bungeman@google.com 6f4cf2a195 Remove 'friend SkRefCnt' from SkData.
https://codereview.chromium.org/13925021/

If a non-POD class does not provide a default destructor, one is
provided by teh compiler. GCC will do so, but only at the point where the
vtable is output; since BlockRef has no implementation its destructor is
never output, so there is no complaint. VC++, however, provides the
destructor implementation as soon as it sees the type. If the destructor
of BlockRef is ever defined an error will be reported (since the
destructor of SkData is private).

Declaring (but does not defining) a destructor for BlockRef fixes two
issues. First, it prevents a default destructor from being provided,
removing the VC++ error. Second, BlockRef now blocks access to the
destructor through '->'.


git-svn-id: http://skia.googlecode.com/svn/trunk@8697 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-04-16 15:24:31 +00:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
config Re-enable inst counting in debug builds. 2013-01-15 20:37:04 +00:00
core Remove 'friend SkRefCnt' from SkData. 2013-04-16 15:24:31 +00:00
device/xps Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
effects Allow single-pass filters (which use asNewEffect()) to participate in the image filter DAG. This was done by introducing the SkSinglePassImageFilter abstract base class, which implements canFilterImageGPU() and filterImageGPU() on behalf of the derived class. The derived class still only needs to asNewEffect(). This allows us to recurse on the filter input in SkSinglePassImageFilter::onFilterImageGPU(). It also allows us to remove any knowledge of single-pass image filters from SkGpuDevice and from the SkImageFilter base class as well. 2013-04-08 19:43:22 +00:00
gpu Disable GPU acceleration for narrow ovals. 2013-04-16 12:30:35 +00:00
images Upstream changes from Android for decoding jpeg images. 2013-03-20 17:45:27 +00:00
lazy Improvements/additions to SkImageCache/SkLazyPixelRef. 2013-03-18 21:37:39 +00:00
pathops Add base types for path ops 2013-04-08 11:47:37 +00:00
pdf Fix more clang errors. 2013-04-05 21:13:14 +00:00
pipe Adding a silent playback option to SkGPipeRead 2012-09-20 19:35:43 +00:00
ports forward declare SkTypeface 2013-04-11 18:27:26 +00:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
text Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
utils Fixing viral copy/paste typo Shapshot -> Snapshot 2013-04-12 20:20:50 +00:00
views Fixing some warnings on Linux 2013-03-07 20:52:59 +00:00
xml Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00