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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 #if ENABLE(SVG) | 30 #if ENABLE(SVG) |
31 #include "SVGImage.h" | 31 #include "SVGImage.h" |
32 | 32 |
33 #include "DocumentLoader.h" | 33 #include "DocumentLoader.h" |
34 #include "FrameView.h" | 34 #include "FrameView.h" |
35 #include "ImageBuffer.h" | 35 #include "ImageBuffer.h" |
36 #include "ImageObserver.h" | 36 #include "ImageObserver.h" |
37 #include "IntRect.h" | 37 #include "IntRect.h" |
38 #include "RenderSVGRoot.h" | 38 #include "RenderSVGRoot.h" |
| 39 #include "RenderStyle.h" |
39 #include "SVGDocument.h" | 40 #include "SVGDocument.h" |
40 #include "SVGImageChromeClient.h" | 41 #include "SVGImageChromeClient.h" |
41 #include "SVGSVGElement.h" | 42 #include "SVGSVGElement.h" |
42 #include "Settings.h" | 43 #include "Settings.h" |
43 | 44 |
44 namespace WebCore { | 45 namespace WebCore { |
45 | 46 |
46 SVGImage::SVGImage(ImageObserver* observer) | 47 SVGImage::SVGImage(ImageObserver* observer) |
47 : Image(observer) | 48 : Image(observer) |
48 { | 49 { |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 { | 380 { |
380 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResou
rceImage); | 381 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResou
rceImage); |
381 Image::reportMemoryUsage(memoryObjectInfo); | 382 Image::reportMemoryUsage(memoryObjectInfo); |
382 info.addMember(m_chromeClient, "chromeClient"); | 383 info.addMember(m_chromeClient, "chromeClient"); |
383 info.addMember(m_page, "page"); | 384 info.addMember(m_page, "page"); |
384 } | 385 } |
385 | 386 |
386 } | 387 } |
387 | 388 |
388 #endif // ENABLE(SVG) | 389 #endif // ENABLE(SVG) |
OLD | NEW |