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

Unified Diff: webkit/renderer/compositor_bindings/web_content_layer_impl.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: webkit/renderer/compositor_bindings/web_content_layer_impl.h
diff --git a/webkit/renderer/compositor_bindings/web_content_layer_impl.h b/webkit/renderer/compositor_bindings/web_content_layer_impl.h
index 369af104b41157577c3536b17a0e4efdf055bdc4..825b6afba6468d578490bdd1bbfded8afb7f2ebd 100644
--- a/webkit/renderer/compositor_bindings/web_content_layer_impl.h
+++ b/webkit/renderer/compositor_bindings/web_content_layer_impl.h
@@ -38,10 +38,11 @@ class WebContentLayerImpl : public blink::WebContentLayer,
// ContentLayerClient implementation.
virtual void PaintContents(SkCanvas* canvas,
const gfx::Rect& clip,
+ bool can_paint_lcd_text,
gfx::RectF* opaque,
ContentLayerClient::GraphicsContextStatus
graphics_context_status) OVERRIDE;
- virtual void DidChangeLayerCanUseLCDText() OVERRIDE;
+ virtual bool PaintsLCDText() const OVERRIDE;
virtual bool FillsBoundsCompletely() const OVERRIDE;
scoped_ptr<WebLayerImpl> layer_;
@@ -49,9 +50,6 @@ class WebContentLayerImpl : public blink::WebContentLayer,
bool draws_content_;
private:
- bool can_use_lcd_text_;
- bool ignore_lcd_text_change_;
-
DISALLOW_COPY_AND_ASSIGN(WebContentLayerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698