diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-14 21:24:26 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-14 21:24:26 +0000 |
commit | 9bdcfd64a8555352b63437db70ff06eabd259a16 (patch) | |
tree | 7f6a45d10ddb164da79e4bedcbd5aa501ffe2132 /cc/layer_impl.cc | |
parent | 017b4f7b3f6f59a62cd296caa66db693aabd7cde (diff) | |
download | chromium_src-9bdcfd64a8555352b63437db70ff06eabd259a16.zip chromium_src-9bdcfd64a8555352b63437db70ff06eabd259a16.tar.gz chromium_src-9bdcfd64a8555352b63437db70ff06eabd259a16.tar.bz2 |
cc: Remove cc::settings, move them to LayerTreeSettings.
For now, we don't want to make plumbing through the WebKit API for all these
settings. So they are marked with a TODO to move into chromium. When we are
no longer going through the WebKit API from chromium, we can set these settings
in chromium, instead of reading the command-line parameters in cc.
Depends on: https://bugs.webkit.org/show_bug.cgi?id=102146
R=jamesr
BUG=160771
Review URL: https://chromiumcodereview.appspot.com/11361223
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_impl.cc')
-rw-r--r-- | cc/layer_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc index 25a5fc5..ef4dee3 100644 --- a/cc/layer_impl.cc +++ b/cc/layer_impl.cc @@ -9,11 +9,11 @@ #include "cc/debug_border_draw_quad.h" #include "cc/geometry.h" #include "cc/layer_sorter.h" +#include "cc/layer_tree_host_impl.h" #include "cc/math_util.h" #include "cc/proxy.h" #include "cc/quad_sink.h" #include "cc/scrollbar_animation_controller.h" -#include "cc/settings.h" #include "third_party/skia/include/core/SkImageFilter.h" #include "ui/gfx/point_conversions.h" #include "ui/gfx/rect_conversions.h" @@ -234,7 +234,7 @@ InputHandlerClient::ScrollStatus LayerImpl::tryScroll(const gfx::PointF& screenS bool LayerImpl::drawCheckerboardForMissingTiles() const { - return m_drawCheckerboardForMissingTiles && !Settings::backgroundColorInsteadOfCheckerboard(); + return m_drawCheckerboardForMissingTiles && !m_layerTreeHostImpl->settings().backgroundColorInsteadOfCheckerboard; } gfx::Rect LayerImpl::layerRectToContentRect(const gfx::RectF& layerRect) const |