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

Unified Diff: cc/resources/bitmap_content_layer_updater.h

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better unittest Created 6 years, 6 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
Index: cc/resources/bitmap_content_layer_updater.h
diff --git a/cc/resources/bitmap_content_layer_updater.h b/cc/resources/bitmap_content_layer_updater.h
index 781fc0baa73c83ec0a4954868f3830a85f7d0996..fe1c8712a2f3eaa271de533c3f9715d4868a7d1c 100644
--- a/cc/resources/bitmap_content_layer_updater.h
+++ b/cc/resources/bitmap_content_layer_updater.h
@@ -14,7 +14,6 @@ class SkCanvas;
namespace cc {
-class LayerPainter;
class RenderingStatsInstrumenation;
// This class rasterizes the content_rect into a skia bitmap canvas. It then
@@ -41,7 +40,7 @@ class CC_EXPORT BitmapContentLayerUpdater : public ContentLayerUpdater {
};
static scoped_refptr<BitmapContentLayerUpdater> Create(
- scoped_ptr<LayerPainter> painter,
+ scoped_ptr<ContentLayerPainter> painter,
RenderingStatsInstrumentation* stats_instrumenation,
int layer_id);
@@ -61,10 +60,9 @@ class CC_EXPORT BitmapContentLayerUpdater : public ContentLayerUpdater {
virtual void ReduceMemoryUsage() OVERRIDE;
protected:
- BitmapContentLayerUpdater(
- scoped_ptr<LayerPainter> painter,
- RenderingStatsInstrumentation* stats_instrumenation,
- int layer_id);
+ BitmapContentLayerUpdater(scoped_ptr<ContentLayerPainter> painter,
+ RenderingStatsInstrumentation* stats_instrumenation,
+ int layer_id);
virtual ~BitmapContentLayerUpdater();
SkBitmap bitmap_backing_;

Powered by Google App Engine
This is Rietveld 408576698