Not reviewed, Chromium build fix from Abhishek Arya.
[WebKit-https.git] / WebKit / chromium / src / WebImageCG.cpp
index b9958d60d00f73baba4081bfcacaed87d2059482..045c8be6cbbe63e46690dc677d86ea9bc75f2b46 100644 (file)
@@ -91,14 +91,14 @@ WebImage::WebImage(const PassRefPtr<Image>& image)
 {
     NativeImagePtr p;
     if (image.get() && (p = image->nativeImageForCurrentFrame()))
-        assign(*p);
+        assign(p);
 }
 
 WebImage& WebImage::operator=(const PassRefPtr<Image>& image)
 {
     NativeImagePtr p;
     if (image.get() && (p = image->nativeImageForCurrentFrame()))
-        assign(*p);
+        assign(p);
     else
         reset();
     return *this;