diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-03-16 13:53:11 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-03-16 13:53:11 +0000 |
commit | 791f5a11f22abfa7f8f90c37c98a5f654c7fb4c5 (patch) | |
tree | 02572df249a0856aa2beddb8d2b1617e8882f96b /samplecode/SampleBitmapRect.cpp | |
parent | 6f8491bf76cba6c198416048fe577d29b252474b (diff) |
Change (correct) SkImageRef's ownership rule for streams to the skia standard
pattern: the receiver will call ref() if it chooses when passed to a constructor
or setter, so the caller must balance its ownership itself. This matches how all
other refcnt objects are handled.
git-svn-id: http://skia.googlecode.com/svn/trunk@120 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleBitmapRect.cpp')
-rw-r--r-- | samplecode/SampleBitmapRect.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/samplecode/SampleBitmapRect.cpp b/samplecode/SampleBitmapRect.cpp index f164e0689e..ea6c705283 100644 --- a/samplecode/SampleBitmapRect.cpp +++ b/samplecode/SampleBitmapRect.cpp @@ -15,7 +15,6 @@ #include "SkTime.h" #include "SkTypeface.h" -#include "SkImageRef.h" #include "SkOSFile.h" #include "SkStream.h" |