| Index: cc/resources/etc1_pixel_ref.h
|
| diff --git a/cc/resources/etc1_pixel_ref.h b/cc/resources/etc1_pixel_ref.h
|
| deleted file mode 100644
|
| index cf92869338f1f91102a59b19be301bf68b2c0bc4..0000000000000000000000000000000000000000
|
| --- a/cc/resources/etc1_pixel_ref.h
|
| +++ /dev/null
|
| @@ -1,43 +0,0 @@
|
| -// Copyright 2013 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CC_RESOURCES_ETC1_PIXEL_REF_H_
|
| -#define CC_RESOURCES_ETC1_PIXEL_REF_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/SkPixelRef.h"
|
| -
|
| -namespace cc {
|
| -
|
| -class CC_EXPORT ETC1PixelRef : public SkPixelRef {
|
| - public:
|
| - // Takes ownership of pixels.
|
| - ETC1PixelRef(const SkImageInfo& info, size_t rowBytes,
|
| - scoped_ptr<uint8_t[]> pixels);
|
| - virtual ~ETC1PixelRef();
|
| -
|
| - // SK_DECLARE_UNFLATTENABLE_OBJECT
|
| - virtual Factory getFactory() const OVERRIDE;
|
| -
|
| - protected:
|
| - // Implementation of SkPixelRef.
|
| -#ifdef SK_SUPPORT_LEGACY_ONLOCKPIXELS
|
| - virtual void* onLockPixels(SkColorTable** color_table) OVERRIDE;
|
| -#endif
|
| - virtual bool onNewLockPixels(LockRec* rec) OVERRIDE;
|
| - virtual void onUnlockPixels() OVERRIDE;
|
| -
|
| - private:
|
| - size_t rowBytes_;
|
| - scoped_ptr<uint8_t[]> pixels_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ETC1PixelRef);
|
| -};
|
| -
|
| -} // namespace cc
|
| -
|
| -#endif // CC_RESOURCES_ETC1_PIXEL_REF_H_
|
|
|