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

Unified Diff: cc/test/solid_color_content_layer_client.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/test/solid_color_content_layer_client.cc
diff --git a/cc/test/solid_color_content_layer_client.cc b/cc/test/solid_color_content_layer_client.cc
index 8c9de1c1f33f8c782832a5a2193856d275cf6dc0..42a1877f3cf50adb9ef656a769641946f6c1e6c1 100644
--- a/cc/test/solid_color_content_layer_client.cc
+++ b/cc/test/solid_color_content_layer_client.cc
@@ -14,6 +14,7 @@ namespace cc {
void SolidColorContentLayerClient::PaintContents(
SkCanvas* canvas,
const gfx::Rect& rect,
+ bool can_paint_lcd_text,
gfx::RectF* opaque_rect,
ContentLayerClient::GraphicsContextStatus gc_status) {
SkPaint paint;
@@ -29,6 +30,10 @@ void SolidColorContentLayerClient::PaintContents(
*opaque_rect = rect;
}
+bool SolidColorContentLayerClient::PaintsLCDText() const {
+ return false;
+}
+
bool SolidColorContentLayerClient::FillsBoundsCompletely() const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698