aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar tzik <tzik@chromium.org>2018-05-28 14:58:00 +0900
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-29 11:35:35 +0000
commitbdb49569f4db3b5c0c69d024b774a3345b5713ef (patch)
tree3cec03b306fb4fa68c4485c3ec9d3bc073b79397 /src
parent8e200f3940ffa90de63b7fee987619eb8aa22141 (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')
-rw-r--r--src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp2
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) {