| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkDocument.h" | 8 #include "SkDocument.h" |
| 9 #include "SkStream.h" | 9 #include "SkStream.h" |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 this->onAbort(); | 86 this->onAbort(); |
| 87 | 87 |
| 88 fState = kClosed_State; | 88 fState = kClosed_State; |
| 89 if (fDoneProc) { | 89 if (fDoneProc) { |
| 90 fDoneProc(fStream, true); | 90 fDoneProc(fStream, true); |
| 91 } | 91 } |
| 92 // we don't own the stream, but we mark it nullptr since we can | 92 // we don't own the stream, but we mark it nullptr since we can |
| 93 // no longer write to it. | 93 // no longer write to it. |
| 94 fStream = nullptr; | 94 fStream = nullptr; |
| 95 } | 95 } |
| OLD | NEW |