| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 void finishReader(FileReader* reader, FinishReaderType nextStep) | 142 void finishReader(FileReader* reader, FinishReaderType nextStep) |
| 143 { | 143 { |
| 144 if (nextStep == RunPendingReaders) | 144 if (nextStep == RunPendingReaders) |
| 145 executeReaders(); | 145 executeReaders(); |
| 146 } | 146 } |
| 147 | 147 |
| 148 void trace(Visitor* visitor) | 148 void trace(Visitor* visitor) |
| 149 { | 149 { |
| 150 #if ENABLE(OILPAN) | 150 #if ENABLE(OILPAN) |
| 151 visitor->trace(m_pendingReaders); | 151 visitor->trace(m_pendingReaders); |
| 152 visitor->trace(m_runningReaders); |
| 152 #endif | 153 #endif |
| 153 visitor->trace(m_runningReaders); | |
| 154 WillBeHeapSupplement<LocalFrame>::trace(visitor); | 154 WillBeHeapSupplement<LocalFrame>::trace(visitor); |
| 155 WillBeHeapSupplement<WorkerClients>::trace(visitor); | 155 WillBeHeapSupplement<WorkerClients>::trace(visitor); |
| 156 } | 156 } |
| 157 | 157 |
| 158 private: | 158 private: |
| 159 ThrottlingController() | 159 ThrottlingController() |
| 160 : m_maxRunningReaders(kMaxOutstandingRequestsPerThread) | 160 : m_maxRunningReaders(kMaxOutstandingRequestsPerThread) |
| 161 { | 161 { |
| 162 } | 162 } |
| 163 | 163 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 return m_loader->stringResult(); | 455 return m_loader->stringResult(); |
| 456 } | 456 } |
| 457 | 457 |
| 458 void FileReader::trace(Visitor* visitor) | 458 void FileReader::trace(Visitor* visitor) |
| 459 { | 459 { |
| 460 visitor->trace(m_error); | 460 visitor->trace(m_error); |
| 461 EventTargetWithInlineData::trace(visitor); | 461 EventTargetWithInlineData::trace(visitor); |
| 462 } | 462 } |
| 463 | 463 |
| 464 } // namespace WebCore | 464 } // namespace WebCore |
| OLD | NEW |