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

Unified Diff: third_party/gif/SkGifImageReader.h

Issue 2445653004: Rename GIFImageReader to SkGifImageReader (Closed)
Patch Set: Remove dependent patch set Created 4 years, 2 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
« no previous file with comments | « third_party/gif/GIFImageReader.cpp ('k') | third_party/gif/SkGifImageReader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gif/SkGifImageReader.h
diff --git a/third_party/gif/GIFImageReader.h b/third_party/gif/SkGifImageReader.h
similarity index 98%
rename from third_party/gif/GIFImageReader.h
rename to third_party/gif/SkGifImageReader.h
index 307b8c40921c76fd71221deba94efe58c210897e..5dc0e4f6dde776af41c4303752dfd7c3850542ed 100644
--- a/third_party/gif/GIFImageReader.h
+++ b/third_party/gif/SkGifImageReader.h
@@ -35,8 +35,8 @@
*
* ***** END LICENSE BLOCK ***** */
-#ifndef GIFImageReader_h
-#define GIFImageReader_h
+#ifndef SkGifImageReader_h
+#define SkGifImageReader_h
// Define ourselves as the clientPtr. Mozilla just hacked their C++ callback class into this old C decoder,
// so we will too.
@@ -275,10 +275,10 @@ private:
bool m_isDataSizeDefined;
};
-class GIFImageReader final : public SkNoncopyable {
+class SkGifImageReader final : public SkNoncopyable {
public:
// This takes ownership of stream.
- GIFImageReader(SkStream* stream)
+ SkGifImageReader(SkStream* stream)
: m_client(nullptr)
, m_state(GIFType)
, m_bytesToConsume(6) // Number of bytes for GIF type, either "GIF87a" or "GIF89a".
@@ -293,7 +293,7 @@ public:
{
}
- ~GIFImageReader()
+ ~SkGifImageReader()
{
}
« no previous file with comments | « third_party/gif/GIFImageReader.cpp ('k') | third_party/gif/SkGifImageReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698