diff options
author | tzik <tzik@chromium.org> | 2018-05-28 14:58:00 +0900 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-29 11:35:35 +0000 |
commit | bdb49569f4db3b5c0c69d024b774a3345b5713ef (patch) | |
tree | 3cec03b306fb4fa68c4485c3ec9d3bc073b79397 /src/gpu | |
parent | 8e200f3940ffa90de63b7fee987619eb8aa22141 (diff) |
Drop unneeded .get() in GrCoverageCountingPathRenderer.cpp
MSVC's std::unique_ptr<>::get() is marked as NODISCARD, and the .get()
call here causes a warning.
Bug: chromium:752720
Change-Id: Iadc217247533b6148285f7a81c982527d98c86f9
Reviewed-on: https://skia-review.googlesource.com/130360
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp b/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp index a069f6ee74..d51c0b525a 100644 --- a/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp +++ b/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp @@ -185,7 +185,7 @@ void GrCoverageCountingPathRenderer::preFlush(GrOnFlushResourceProvider* onFlush continue; // No paths on this opList. } - fFlushingPaths.push_back(std::move(iter->second)).get(); + fFlushingPaths.push_back(std::move(iter->second)); fPendingPaths.erase(iter); for (const GrCCDrawPathsOp* op : fFlushingPaths.back()->fDrawOps) { |