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

Side by Side Diff: Source/core/fileapi/FileReader.cpp

Issue 402433005: Oilpan: Remove support for tracing off-heap HashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix deadWrapper number in heap tests. Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/NodeRareData.h ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/dom/NodeRareData.h ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698