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

Unified Diff: cc/resources/etc1_pixel_ref.h

Issue 67613002: cc: Minor clean ups to ETC1PixelRef header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/etc1_pixel_ref.h
diff --git a/cc/resources/etc1_pixel_ref.h b/cc/resources/etc1_pixel_ref.h
index 553e3bf408edd39fa3f18819bb7ba043d01f0a98..c64d3a87a710c1f4e7366190c90e981fb8e7e452 100644
--- a/cc/resources/etc1_pixel_ref.h
+++ b/cc/resources/etc1_pixel_ref.h
@@ -5,11 +5,10 @@
#ifndef CC_RESOURCES_ETC1_PIXEL_REF_H_
#define CC_RESOURCES_ETC1_PIXEL_REF_H_
-#include "base/logging.h"
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
-#include "third_party/skia/include/core/SkBitmap.h"
-#include "third_party/skia/include/core/SkFlattenable.h"
#include "third_party/skia/include/core/SkPixelRef.h"
namespace cc {
@@ -21,15 +20,17 @@ class CC_EXPORT ETC1PixelRef : public SkPixelRef {
virtual ~ETC1PixelRef();
// SK_DECLARE_UNFLATTENABLE_OBJECT
- virtual Factory getFactory() const SK_OVERRIDE;
+ virtual Factory getFactory() const OVERRIDE;
protected:
// Implementation of SkPixelRef.
- virtual void* onLockPixels(SkColorTable** color_table) SK_OVERRIDE;
- virtual void onUnlockPixels() SK_OVERRIDE;
+ virtual void* onLockPixels(SkColorTable** color_table) OVERRIDE;
+ virtual void onUnlockPixels() OVERRIDE;
private:
scoped_ptr<uint8_t[]> pixels_;
+
+ DISALLOW_COPY_AND_ASSIGN(ETC1PixelRef);
};
} // namespace cc
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698