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

Side by Side Diff: Source/modules/fetch/FetchManager.cpp

Issue 871873002: Oilpan: fix build after r188805, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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" 5 #include "config.h"
6 #include "modules/fetch/FetchManager.h" 6 #include "modules/fetch/FetchManager.h"
7 7
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 { 414 {
415 ASSERT(!m_isStopped); 415 ASSERT(!m_isStopped);
416 m_isStopped = true; 416 m_isStopped = true;
417 for (auto& loader : m_loaders) { 417 for (auto& loader : m_loaders) {
418 loader->cleanup(); 418 loader->cleanup();
419 } 419 }
420 } 420 }
421 421
422 void FetchManager::onLoaderFinished(Loader* loader) 422 void FetchManager::onLoaderFinished(Loader* loader)
423 { 423 {
424 // We don't use remove here, becuase it may cause recursive deletion. 424 // We don't use remove here, because it may cause recursive deletion.
425 OwnPtr<Loader> p = m_loaders.take(loader); 425 OwnPtrWillBeRawPtr<Loader> p = m_loaders.take(loader);
426 ALLOW_UNUSED_LOCAL(p);
426 } 427 }
427 428
428 void FetchManager::trace(Visitor* visitor) 429 void FetchManager::trace(Visitor* visitor)
429 { 430 {
430 #if ENABLE(OILPAN) 431 #if ENABLE(OILPAN)
431 visitor->trace(m_executionContext); 432 visitor->trace(m_executionContext);
432 visitor->trace(m_loaders); 433 visitor->trace(m_loaders);
433 #endif 434 #endif
434 } 435 }
435 436
436 } // namespace blink 437 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698