summaryrefslogtreecommitdiffstats
path: root/cc/blink/web_content_layer_impl.h
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2014-11-18 08:56:00 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-18 16:57:07 +0000
commit3f76acec92ff4dbd8bc46e7add2f8f7a2cbacfb0 (patch)
tree41935a37da0de066fa750016b2602e69b56ec825 /cc/blink/web_content_layer_impl.h
parent0bc5a9a4430af86f2c935f51e46961988fe576fd (diff)
downloadchromium_src-3f76acec92ff4dbd8bc46e7add2f8f7a2cbacfb0.zip
chromium_src-3f76acec92ff4dbd8bc46e7add2f8f7a2cbacfb0.tar.gz
chromium_src-3f76acec92ff4dbd8bc46e7add2f8f7a2cbacfb0.tar.bz2
cc: Toggle LCD text at raster time instead of record time.
Always tell blink that it can use LCD text (in future this can stop being passed at all). And at raster time: - If LCD text is allowed initialize SkSurfaceProps with the LegacyHost parameter which will cause skia to pick an LCD text format matching current behaviour. - If LCD is not allowed initialize SkSurfaceProps with an "unknown pixelformat" causing LCD text to not be used. This also removes the need for SK_SUPPORT_LEGACY_TEXTRENDERMODE from resource_provider.cc. R=enne,reveman BUG=430617 Committed: https://crrev.com/ad672f645e82ca677978b097a170c908c614d184 Cr-Commit-Position: refs/heads/master@{#304486} Review URL: https://codereview.chromium.org/684543006 Cr-Commit-Position: refs/heads/master@{#304623}
Diffstat (limited to 'cc/blink/web_content_layer_impl.h')
-rw-r--r--cc/blink/web_content_layer_impl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/blink/web_content_layer_impl.h b/cc/blink/web_content_layer_impl.h
index b9bb871..2966bd4 100644
--- a/cc/blink/web_content_layer_impl.h
+++ b/cc/blink/web_content_layer_impl.h
@@ -40,7 +40,6 @@ class WebContentLayerImpl : public blink::WebContentLayer,
const gfx::Rect& clip,
ContentLayerClient::GraphicsContextStatus
graphics_context_status) override;
- void DidChangeLayerCanUseLCDText() override;
bool FillsBoundsCompletely() const override;
scoped_ptr<WebLayerImpl> layer_;