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

Unified Diff: src/images/SkDecodingImageGenerator.h

Issue 103033002: Big Cleanup: SkBitmapFactory, SkLazyPixelRef, SkImageCache (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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: src/images/SkDecodingImageGenerator.h
diff --git a/src/images/SkDecodingImageGenerator.h b/src/images/SkDecodingImageGenerator.h
deleted file mode 100644
index 682aeb619cee14c6d3593e6cde664a93ea79592b..0000000000000000000000000000000000000000
--- a/src/images/SkDecodingImageGenerator.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2013 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkDecodingImageGenerator_DEFINED
-#define SkDecodingImageGenerator_DEFINED
-
-#include "SkImageGenerator.h"
-
-class SkBitmap;
-
-/**
- * Calls into SkImageDecoder::DecodeMemoryToTarget to implement a
- * SkImageGenerator
- */
-class SkDecodingImageGenerator : public SkImageGenerator {
-public:
- /*
- * The constructor will take a reference to the SkData. The
- * destructor will unref() it.
- */
- SkDecodingImageGenerator(SkData* data);
- virtual ~SkDecodingImageGenerator();
-
- virtual SkData* refEncodedData() SK_OVERRIDE;
-
- virtual bool getInfo(SkImageInfo* info) SK_OVERRIDE;
-
- virtual bool getPixels(const SkImageInfo& info,
- void* pixels,
- size_t rowBytes) SK_OVERRIDE;
-
- /**
- * Install the SkData into the destination bitmap, using a new
- * SkDiscardablePixelRef and a new SkDecodingImageGenerator.
- */
- static bool Install(SkData* data, SkBitmap* destination);
-
-private:
- SkData* fData;
-};
-#endif // SkDecodingImageGenerator_DEFINED

Powered by Google App Engine
This is Rietveld 408576698