Build fix for Qt and Cairo builds
[WebKit-https.git] / WebCore / platform / graphics / qt / GraphicsContextQt.cpp
index 6f97a9771c0a381ddc0d338bdd2d9d425d666ed1..ec35d962a20ee81ca67d42774eff99ee1b7fbd35 100644 (file)
@@ -929,7 +929,7 @@ void GraphicsContext::paintBuffer(ImageBuffer* buffer, const IntRect& r)
     painter->setBackground(currentBackground);
 }
 
-void GraphicsContext::drawImage(ImageBuffer* buffer, const FloatRect& srcRect, const FloatRect& destRect)
+void GraphicsContext::drawImage(ImageBuffer* buffer, const FloatRect& srcRect, const FloatRect& dstRect)
 {
     QPainter* painter = static_cast<QPainter*>(platformContext());
     QPixmap px = *buffer->pixmap();