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

Unified Diff: cc/resources/bitmap_skpicture_content_layer_updater.cc

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated unittests 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_skpicture_content_layer_updater.cc
diff --git a/cc/resources/bitmap_skpicture_content_layer_updater.cc b/cc/resources/bitmap_skpicture_content_layer_updater.cc
index 21fdbbb72bc9bc566869f033bb616996ddcacd7f..afb66a7e9a05b52b0ebe4579ce9b8c920981605c 100644
--- a/cc/resources/bitmap_skpicture_content_layer_updater.cc
+++ b/cc/resources/bitmap_skpicture_content_layer_updater.cc
@@ -6,7 +6,7 @@
#include "base/time/time.h"
#include "cc/debug/rendering_stats_instrumentation.h"
-#include "cc/resources/layer_painter.h"
+#include "cc/resources/content_layer_painter.h"
#include "cc/resources/prioritized_resource.h"
#include "cc/resources/resource_update_queue.h"
#include "third_party/skia/include/core/SkCanvas.h"
@@ -40,7 +40,7 @@ void BitmapSkPictureContentLayerUpdater::Resource::Update(
scoped_refptr<BitmapSkPictureContentLayerUpdater>
BitmapSkPictureContentLayerUpdater::Create(
- scoped_ptr<LayerPainter> painter,
+ scoped_ptr<ContentLayerPainter> painter,
RenderingStatsInstrumentation* stats_instrumentation,
int layer_id) {
return make_scoped_refptr(
@@ -50,12 +50,13 @@ BitmapSkPictureContentLayerUpdater::Create(
}
BitmapSkPictureContentLayerUpdater::BitmapSkPictureContentLayerUpdater(
- scoped_ptr<LayerPainter> painter,
+ scoped_ptr<ContentLayerPainter> painter,
RenderingStatsInstrumentation* stats_instrumentation,
int layer_id)
: SkPictureContentLayerUpdater(painter.Pass(),
stats_instrumentation,
- layer_id) {}
+ layer_id) {
+}
BitmapSkPictureContentLayerUpdater::~BitmapSkPictureContentLayerUpdater() {}

Powered by Google App Engine
This is Rietveld 408576698