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

Side by Side Diff: Source/core/fetch/ResourceFetcher.cpp

Issue 788593003: Oilpan: fix build after r186729. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | « 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 /* 1 /*
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org)
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org)
5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
7 7
8 This library is free software; you can redistribute it and/or 8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public 9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either 10 License as published by the Free Software Foundation; either
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 { 262 {
263 } 263 }
264 264
265 ResourceFetcher::~ResourceFetcher() 265 ResourceFetcher::~ResourceFetcher()
266 { 266 {
267 m_documentLoader = nullptr; 267 m_documentLoader = nullptr;
268 m_document = nullptr; 268 m_document = nullptr;
269 269
270 clearPreloads(); 270 clearPreloads();
271 271
272 #if !ENABLE(OILPAN)
272 // Make sure no requests still point to this ResourceFetcher 273 // Make sure no requests still point to this ResourceFetcher
274 // Oilpan: no object reference can be keeping this alive,
275 // so property trivially holds.
273 ASSERT(!m_loaders || m_loaders->isEmpty()); 276 ASSERT(!m_loaders || m_loaders->isEmpty());
277 #endif
274 } 278 }
275 279
276 Resource* ResourceFetcher::cachedResource(const KURL& resourceURL) const 280 Resource* ResourceFetcher::cachedResource(const KURL& resourceURL) const
277 { 281 {
278 KURL url = MemoryCache::removeFragmentIdentifierIfNeeded(resourceURL); 282 KURL url = MemoryCache::removeFragmentIdentifierIfNeeded(resourceURL);
279 return m_documentResources.get(url).get(); 283 return m_documentResources.get(url).get();
280 } 284 }
281 285
282 LocalFrame* ResourceFetcher::frame() const 286 LocalFrame* ResourceFetcher::frame() const
283 { 287 {
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 1578
1575 void ResourceFetcher::trace(Visitor* visitor) 1579 void ResourceFetcher::trace(Visitor* visitor)
1576 { 1580 {
1577 visitor->trace(m_document); 1581 visitor->trace(m_document);
1578 visitor->trace(m_loaders); 1582 visitor->trace(m_loaders);
1579 visitor->trace(m_nonBlockingLoaders); 1583 visitor->trace(m_nonBlockingLoaders);
1580 ResourceLoaderHost::trace(visitor); 1584 ResourceLoaderHost::trace(visitor);
1581 } 1585 }
1582 1586
1583 } 1587 }
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