From 791f5a11f22abfa7f8f90c37c98a5f654c7fb4c5 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Mon, 16 Mar 2009 13:53:11 +0000 Subject: 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 --- samplecode/SampleTextAlpha.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'samplecode/SampleTextAlpha.cpp') diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp index d695f235d3..629056b3f3 100644 --- a/samplecode/SampleTextAlpha.cpp +++ b/samplecode/SampleTextAlpha.cpp @@ -17,7 +17,6 @@ #include "SkTime.h" #include "SkTypeface.h" -#include "SkImageRef.h" #include "SkOSFile.h" #include "SkStream.h" -- cgit v1.2.3