Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Unified Diff: src/utils/win/SkIStream.cpp

Issue 868643003: Fix SkIStream nits. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/utils/win/SkIStream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/win/SkIStream.cpp
diff --git a/src/utils/win/SkIStream.cpp b/src/utils/win/SkIStream.cpp
index 2e9510cf9543705288f9982de04b2d1a5b09eef1..dc9d1636d710301a2882fe8a3dac7a7ec0cd2e19 100644
--- a/src/utils/win/SkIStream.cpp
+++ b/src/utils/win/SkIStream.cpp
@@ -113,7 +113,7 @@ SkIStream::SkIStream(SkStream* stream, bool deleteOnRelease)
}
SkIStream::~SkIStream() {
- if (this->fSkStream && fDeleteOnRelease) {
+ if (fDeleteOnRelease) {
delete this->fSkStream;
}
}
« no previous file with comments | « include/utils/win/SkIStream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698