Chromium Code Reviews| Index: WebKit/chromium/src/WebImageCG.cpp |
| =================================================================== |
| --- WebKit/chromium/src/WebImageCG.cpp (revision 51016) |
| +++ WebKit/chromium/src/WebImageCG.cpp (working copy) |
| @@ -91,14 +91,14 @@ |
| { |
| 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; |