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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/png/PNGImageReader.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/PNGImageReader.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageReader.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageReader.cpp
index 3a3268c73a202c8b843a9633cea6435f451ae2de..f43cbdf5a3e78011a042d335d908f83db2170c2e 100644
--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageReader.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageReader.cpp
@@ -535,7 +535,7 @@
if (ignore_animation_)
is_animated_ = false;
if (!is_animated_ || 1 == reported_frame_count_)
- decoder_->SetRepetitionCount(kAnimationNone);
+ decoder_->SetRepetitionCount(kCAnimationNone);
if (!decoder_->SetSize(width_, height_))
return false;
decoder_->SetColorSpace();

Powered by Google App Engine
This is Rietveld 408576698