diff options
author | danakj <danakj@chromium.org> | 2015-12-15 04:59:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-15 13:00:26 +0000 |
commit | c010e5e7c9f7fe4caaf5bfd8d4714fa8267bba78 (patch) | |
tree | 8ff97fa77b14aac502c6746d76b4349233c6f341 /skia | |
parent | 61dd33e61f5cd85e0017ed00dc98c5bdc673fade (diff) | |
download | chromium_src-c010e5e7c9f7fe4caaf5bfd8d4714fa8267bba78.zip chromium_src-c010e5e7c9f7fe4caaf5bfd8d4714fa8267bba78.tar.gz chromium_src-c010e5e7c9f7fe4caaf5bfd8d4714fa8267bba78.tar.bz2 |
Update skia::RefPtr documentation to use std::move() instead of Pass.
R=fmalita@chromium.org
BUG=557422
Review URL: https://codereview.chromium.org/1526643003
Cr-Commit-Position: refs/heads/master@{#365233}
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/refptr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/refptr.h b/skia/ext/refptr.h index 93f1220..b6bae4f 100644 --- a/skia/ext/refptr.h +++ b/skia/ext/refptr.h @@ -44,7 +44,7 @@ namespace skia { // count): // // skia::RefPtr<SkShader> shader = ...; -// UseThisShader(shader.Pass()); +// UseThisShader(std::move(shader)); // // Never call ref() or unref() on the underlying ref-counted pointer. If you // AdoptRef() the raw pointer immediately into a skia::RefPtr and always work |