Index: cc/caching_bitmap_content_layer_updater.h |
diff --git a/cc/caching_bitmap_content_layer_updater.h b/cc/caching_bitmap_content_layer_updater.h |
deleted file mode 100644 |
index 323bbcee225b059fbfea18c9a6eaa2e07c6a7e11..0000000000000000000000000000000000000000 |
--- a/cc/caching_bitmap_content_layer_updater.h |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-// Copyright 2012 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_CACHING_BITMAP_CONTENT_LAYER_UPDATER_H_ |
-#define CC_CACHING_BITMAP_CONTENT_LAYER_UPDATER_H_ |
- |
-#include "base/compiler_specific.h" |
-#include "cc/bitmap_content_layer_updater.h" |
-#include "third_party/skia/include/core/SkBitmap.h" |
- |
-namespace cc { |
- |
-class CachingBitmapContentLayerUpdater : public BitmapContentLayerUpdater { |
- public: |
- static scoped_refptr<CachingBitmapContentLayerUpdater> Create( |
- scoped_ptr<LayerPainter>); |
- |
- virtual void PrepareToUpdate(gfx::Rect content_rect, |
- gfx::Size tile_size, |
- float contents_width_scale, |
- float contents_height_scale, |
- gfx::Rect* resulting_opaque_rect, |
- RenderingStats* stats) OVERRIDE; |
- |
- bool pixels_did_change() const { |
- return pixels_did_change_; |
- } |
- |
- private: |
- explicit CachingBitmapContentLayerUpdater(scoped_ptr<LayerPainter> painter); |
- virtual ~CachingBitmapContentLayerUpdater(); |
- |
- bool pixels_did_change_; |
- SkBitmap cached_bitmap_; |
- |
- DISALLOW_COPY_AND_ASSIGN(CachingBitmapContentLayerUpdater); |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_CACHING_BITMAP_CONTENT_LAYER_UPDATER_H_ |