- WebCore/ChangeLog +11 lines
Lines 1-3 WebCore/ChangeLog_sec1
1
2009-05-18  Yongjun Zhang  <yongjun.zhang@nokia.com>
2
3
        Reviewed by NOBODY (OOPS!).
4
5
        https://bugs.webkit.org/show_bug.cgi?id=25856
6
        [Qt] notify an image has been drawn, to help Cache purge alive decoded data.
7
8
        * platform/graphics/qt/ImageQt.cpp:
9
        (WebCore::Image::drawPattern):
10
        (WebCore::BitmapImage::draw):
11
1
2009-05-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
12
2009-05-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
2
13
3
        Reviewed by Jan Alonzo.
14
        Reviewed by Jan Alonzo.
- WebCore/platform/graphics/qt/ImageQt.cpp +6 lines
Lines 116-121 void Image::drawPattern(GraphicsContext* WebCore/platform/graphics/qt/ImageQt.cpp_sec1
116
    p->setBrushOrigin(phase);
116
    p->setBrushOrigin(phase);
117
    p->fillRect(destRect, b);
117
    p->fillRect(destRect, b);
118
    ctxt->restore();
118
    ctxt->restore();
119
120
    if (imageObserver())
121
        imageObserver()->didDraw(this);
119
}
122
}
120
123
121
void BitmapImage::initPlatformData()
124
void BitmapImage::initPlatformData()
Lines 158-163 void BitmapImage::draw(GraphicsContext* WebCore/platform/graphics/qt/ImageQt.cpp_sec2
158
    painter->drawPixmap(dst, *image, src);
161
    painter->drawPixmap(dst, *image, src);
159
162
160
    ctxt->restore();
163
    ctxt->restore();
164
165
    if (imageObserver())
166
        imageObserver()->didDraw(this);
161
}
167
}
162
168
163
void BitmapImage::checkForSolidColor()
169
void BitmapImage::checkForSolidColor()

Return to Bug 25856