Not reviewed, Chromium build fix from Abhishek Arya.
authordimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jun 2010 21:56:14 +0000 (21:56 +0000)
committerdimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jun 2010 21:56:14 +0000 (21:56 +0000)
* src/WebImageCG.cpp:
(WebKit::WebImage::WebImage):
(WebKit::WebImage::operator=):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@60977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/chromium/ChangeLog
WebKit/chromium/src/WebImageCG.cpp

index e1268bdcb402c64d07e0c698c7f55ff009b0167c..54d59776f23144d0c7a2cdd97417a77e2e96ff9f 100644 (file)
@@ -1,3 +1,11 @@
+2010-06-10  Dmitry Titov  <dimich@chromium.org>
+
+        Not reviewed, Chromium build fix from Abhishek Arya.
+
+        * src/WebImageCG.cpp:
+        (WebKit::WebImage::WebImage):
+        (WebKit::WebImage::operator=):
+
 2010-06-10  Abhishek Arya  <inferno@chromium.org>
 
         Reviewed by Dimitri Glazkov.
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;