| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | |
| 6 #include "modules/fetch/DataConsumerHandleUtil.h" | 5 #include "modules/fetch/DataConsumerHandleUtil.h" |
| 7 | 6 |
| 8 #include "platform/Task.h" | 7 #include "platform/Task.h" |
| 9 #include "platform/blob/BlobData.h" | 8 #include "platform/blob/BlobData.h" |
| 10 #include "public/platform/Platform.h" | 9 #include "public/platform/Platform.h" |
| 11 #include "public/platform/WebThread.h" | 10 #include "public/platform/WebThread.h" |
| 12 #include "public/platform/WebTraceLocation.h" | 11 #include "public/platform/WebTraceLocation.h" |
| 13 #include "wtf/Functional.h" | 12 #include "wtf/Functional.h" |
| 14 | 13 |
| 15 namespace blink { | 14 namespace blink { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // |client| dereference is safe here because: | 147 // |client| dereference is safe here because: |
| 149 // - |this| is owned by a reader, | 148 // - |this| is owned by a reader, |
| 150 // so the reader outlives |this|, and | 149 // so the reader outlives |this|, and |
| 151 // - |client| is the client of the reader, so |client| outlives the reader | 150 // - |client| is the client of the reader, so |client| outlives the reader |
| 152 // (guaranteed by the user of the reader), | 151 // (guaranteed by the user of the reader), |
| 153 // and therefore |client| outlives |this|. | 152 // and therefore |client| outlives |this|. |
| 154 client->didGetReadable(); | 153 client->didGetReadable(); |
| 155 } | 154 } |
| 156 | 155 |
| 157 } // namespace blink | 156 } // namespace blink |
| OLD | NEW |