OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, Google Inc. All rights reserved. | 2 * Copyright (c) 2013, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 { | 217 { |
218 ASSERT_NE(imageBitmap->bitmapImage()->imageForCurrentFrame(), newImageRe
source->image()->imageForCurrentFrame()); | 218 ASSERT_NE(imageBitmap->bitmapImage()->imageForCurrentFrame(), newImageRe
source->image()->imageForCurrentFrame()); |
219 SkImage* image1 = imageBitmap->bitmapImage()->imageForCurrentFrame().get
(); | 219 SkImage* image1 = imageBitmap->bitmapImage()->imageForCurrentFrame().get
(); |
220 ASSERT_NE(image1, nullptr); | 220 ASSERT_NE(image1, nullptr); |
221 SkImage* image2 = newImageResource->image()->imageForCurrentFrame().get(
); | 221 SkImage* image2 = newImageResource->image()->imageForCurrentFrame().get(
); |
222 ASSERT_NE(image2, nullptr); | 222 ASSERT_NE(image2, nullptr); |
223 ASSERT_NE(image1, image2); | 223 ASSERT_NE(image1, image2); |
224 } | 224 } |
225 } | 225 } |
226 | 226 |
227 } // namespace | 227 } // namespace blink |
OLD | NEW |