12013-09-10 Tim Horton <timothy_horton@apple.com>
2
3 Apply OVERRIDE and FINAL to Image subclasses and clean them up
4 https://bugs.webkit.org/show_bug.cgi?id=121086
5
6 Reviewed by NOBODY (OOPS!).
7
8 Everything other than the copious application of OVERRIDE and FINAL
9 is explicitly called out below.
10
11 * platform/graphics/BitmapImage.cpp:
12 * platform/graphics/BitmapImage.h:
13 Drive-by inline isBitmapImage.
14 Move create(HBITMAP) to be near the other create() functions.
15 Move all of the members and quite a few functions from protected to private.
16 Devirtualize frameCount().
17 Move notSolidColor() near the other solid color functions.
18
19 * platform/graphics/CrossfadeGeneratedImage.cpp:
20 (WebCore::CrossfadeGeneratedImage::CrossfadeGeneratedImage):
21 (WebCore::CrossfadeGeneratedImage::drawPattern):
22 * platform/graphics/GeneratorGeneratedImage.cpp:
23 (WebCore::GeneratorGeneratedImage::draw):
24 (WebCore::GeneratorGeneratedImage::drawPattern):
25 Use size() and setContainerSize() instead of directly accessing a
26 superclass' (now private, previously protected) members.
27
28 * platform/graphics/CrossfadeGeneratedImage.h:
29 * platform/graphics/GeneratedImage.h:
30 Make m_size private, I don't think we do protected members.
31
32 * platform/graphics/GeneratorGeneratedImage.h:
33 Make all the members private.
34
35 * svg/graphics/SVGImage.h:
36 * svg/graphics/SVGImageForContainer.h:
37