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

Unified Diff: cc/layer.cc

Issue 11360093: Mark layers that can use LCD text based on layer transform and opacity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reverted whitespace change Created 8 years 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
« no previous file with comments | « cc/layer.h ('k') | cc/layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.cc
diff --git a/cc/layer.cc b/cc/layer.cc
index dea9e45e226c56f1cc8ae1759121fd755d18f5aa..deb7f2b22ea27ed5aaddd07dbe6e08962d150629 100644
--- a/cc/layer.cc
+++ b/cc/layer.cc
@@ -48,7 +48,6 @@ Layer::Layer()
, m_masksToBounds(false)
, m_contentsOpaque(false)
, m_doubleSided(true)
- , m_useLCDText(false)
, m_preserves3D(false)
, m_useParentBackfaceVisibility(false)
, m_drawCheckerboardForMissingTiles(false)
@@ -76,11 +75,6 @@ Layer::~Layer()
removeAllChildren();
}
-void Layer::setUseLCDText(bool useLCDText)
-{
- m_useLCDText = useLCDText;
-}
-
void Layer::setLayerTreeHost(LayerTreeHost* host)
{
if (m_layerTreeHost == host)
@@ -567,7 +561,6 @@ void Layer::pushPropertiesTo(LayerImpl* layer)
layer->setFilters(filters());
layer->setFilter(filter());
layer->setBackgroundFilters(backgroundFilters());
- layer->setUseLCDText(m_useLCDText);
layer->setMasksToBounds(m_masksToBounds);
layer->setScrollable(m_scrollable);
layer->setShouldScrollOnMainThread(m_shouldScrollOnMainThread);
« no previous file with comments | « cc/layer.h ('k') | cc/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698