Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp

Issue 2878363003: Revert of Fix ImageAnimation constant names after Blink renaming (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
index 0e12da8491b7094abc87fe1dd4647a97b07fd634..9890b7c27a9479b1c639e0dabf838ec7922c3fff 100644
--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
@@ -47,10 +47,10 @@
: ImageDecoder(alpha_option, color_behavior, max_decoded_bytes),
offset_(offset),
current_frame_(0),
- // It would be logical to default to kAnimationNone, but BitmapImage uses
+ // It would be logical to default to kCAnimationNone, but BitmapImage uses
// that as a signal to never check again, meaning the actual count will
// never be respected.
- repetition_count_(kAnimationLoopOnce),
+ repetition_count_(kCAnimationLoopOnce),
has_alpha_channel_(false),
current_buffer_saw_alpha_(false) {}
@@ -122,7 +122,7 @@
}
int PNGImageDecoder::RepetitionCount() const {
- return Failed() ? kAnimationLoopOnce : repetition_count_;
+ return Failed() ? kCAnimationLoopOnce : repetition_count_;
}
void PNGImageDecoder::InitializeNewFrame(size_t index) {

Powered by Google App Engine
This is Rietveld 408576698