OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. |
3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com) | 3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 | 514 |
515 if (!m_notifiedLoadComplete) { | 515 if (!m_notifiedLoadComplete) { |
516 m_notifiedLoadComplete = true; | 516 m_notifiedLoadComplete = true; |
517 if (m_options.sendLoadCallbacks == SendCallbacks) | 517 if (m_options.sendLoadCallbacks == SendCallbacks) |
518 frameLoader()->notifier()->didFailToLoad(this, error); | 518 frameLoader()->notifier()->didFailToLoad(this, error); |
519 } | 519 } |
520 | 520 |
521 releaseResources(); | 521 releaseResources(); |
522 } | 522 } |
523 | 523 |
524 void ResourceLoader::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const | |
525 { | |
526 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Loader); | |
527 info.addMember(m_handle, "handle"); | |
528 info.addMember(m_frame, "frame"); | |
529 info.addMember(m_documentLoader, "documentLoader"); | |
530 info.addMember(m_request, "request"); | |
531 info.addMember(m_originalRequest, "originalRequest"); | |
532 info.addMember(m_deferredRequest, "deferredRequest"); | |
533 info.addMember(m_options, "options"); | |
534 info.addMember(m_resource, "resource"); | |
535 info.addMember(m_documentLoader, "documentLoader"); | |
536 info.addMember(m_requestCountTracker, "requestCountTracker"); | |
537 } | 524 } |
538 | |
539 } | |
OLD | NEW |