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

Unified Diff: dm/DMWriteTask.cpp

Issue 849103004: Make SkStream *not* ref counted. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Treat SkFontMgr::createFromStream as taking ownership of the stream (is this correct?) 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
Index: dm/DMWriteTask.cpp
diff --git a/dm/DMWriteTask.cpp b/dm/DMWriteTask.cpp
index aee43a80b87c5fbf403abb82feae4b42b43a752b..a0d14d10110031ac0b7e0c8bb5b3b496b5e48659 100644
--- a/dm/DMWriteTask.cpp
+++ b/dm/DMWriteTask.cpp
@@ -56,7 +56,6 @@ WriteTask::WriteTask(const Task& parent,
, fData(data)
, fExtension(ext) {
SkASSERT(fData.get());
- SkASSERT(fData->unique());
}
void WriteTask::makeDirOrFail(SkString dir) {

Powered by Google App Engine
This is Rietveld 408576698