Add ownership dox for SkShader::asACompose.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 14 May 2014 14:28:34 +0000 (14:28 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 14 May 2014 14:28:34 +0000 (14:28 +0000)
Supplement the comment added in
http://code.google.com/p/skia/source/detail?r=14716

R=reed@google.com

Author: scroggo@google.com

Review URL: https://codereview.chromium.org/288713002

git-svn-id: http://skia.googlecode.com/svn/trunk@14724 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkShader.h

index bc83c320cd2c9703659367ee88ae058a27a00b65..e67167d924cfa02f2ad87c6ce6ad533febefe553 100644 (file)
@@ -359,6 +359,8 @@ public:
     /**
      *  If the shader subclass is composed of two shaders, return true, and if rec is not NULL,
      *  fill it out with info about the shader.
+     *
+     *  These are bare pointers; the ownership and reference count are unchanged.
      */
 
     struct ComposeRec {