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

Unified Diff: cc/resources/bitmap_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: 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.cc
diff --git a/cc/resources/bitmap_content_layer_updater.cc b/cc/resources/bitmap_content_layer_updater.cc
index fff62cf0aca5ca144a27be12614f1100d2815f46..a8a50a3a84ea55ba4f318c60226f13de9f88c30c 100644
--- a/cc/resources/bitmap_content_layer_updater.cc
+++ b/cc/resources/bitmap_content_layer_updater.cc
@@ -6,7 +6,7 @@
#include "cc/debug/devtools_instrumentation.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.h"
#include "cc/resources/resource_update_queue.h"
@@ -31,7 +31,7 @@ void BitmapContentLayerUpdater::Resource::Update(
}
scoped_refptr<BitmapContentLayerUpdater> BitmapContentLayerUpdater::Create(
- scoped_ptr<LayerPainter> painter,
+ scoped_ptr<ContentLayerPainter> painter,
RenderingStatsInstrumentation* stats_instrumentation,
int layer_id) {
return make_scoped_refptr(
@@ -41,10 +41,11 @@ scoped_refptr<BitmapContentLayerUpdater> BitmapContentLayerUpdater::Create(
}
BitmapContentLayerUpdater::BitmapContentLayerUpdater(
- scoped_ptr<LayerPainter> painter,
+ scoped_ptr<ContentLayerPainter> painter,
RenderingStatsInstrumentation* stats_instrumentation,
int layer_id)
- : ContentLayerUpdater(painter.Pass(), stats_instrumentation, layer_id) {}
+ : ContentLayerUpdater(painter.Pass(), stats_instrumentation, layer_id) {
+}
BitmapContentLayerUpdater::~BitmapContentLayerUpdater() {}

Powered by Google App Engine
This is Rietveld 408576698