OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. |
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 } | 360 } |
361 | 361 |
362 return m_page; | 362 return m_page; |
363 } | 363 } |
364 | 364 |
365 String SVGImage::filenameExtension() const | 365 String SVGImage::filenameExtension() const |
366 { | 366 { |
367 return "svg"; | 367 return "svg"; |
368 } | 368 } |
369 | 369 |
370 void SVGImage::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const | |
371 { | |
372 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResou
rceImage); | |
373 Image::reportMemoryUsage(memoryObjectInfo); | |
374 info.addMember(m_chromeClient, "chromeClient"); | |
375 info.addMember(m_page, "page"); | |
376 } | |
377 | |
378 } | 370 } |
379 | 371 |
380 #endif // ENABLE(SVG) | 372 #endif // ENABLE(SVG) |
OLD | NEW |