summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-04 01:22:42 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-04 01:22:42 +0000
commit232eda4b0ec78de812beb73154313c585351cfe5 (patch)
tree37c27fe6fe4b630b03dff63ddfa6f1c98a64c713 /cc
parent7880482cfcafe1f1e07eea9d4a5a42007b8f40eb (diff)
downloadchromium_src-232eda4b0ec78de812beb73154313c585351cfe5.zip
chromium_src-232eda4b0ec78de812beb73154313c585351cfe5.tar.gz
chromium_src-232eda4b0ec78de812beb73154313c585351cfe5.tar.bz2
cc: Remove now-unused impl-side painting function
This should have gotten removed when the pending tree was added. R=nduca@chromium.org BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11706003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r--cc/picture_layer_tiling_set.cc8
-rw-r--r--cc/picture_layer_tiling_set.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/cc/picture_layer_tiling_set.cc b/cc/picture_layer_tiling_set.cc
index 25243a3..9edf847 100644
--- a/cc/picture_layer_tiling_set.cc
+++ b/cc/picture_layer_tiling_set.cc
@@ -51,14 +51,6 @@ gfx::Size PictureLayerTilingSet::LayerBounds() const {
return layer_bounds_;
}
-void PictureLayerTilingSet::Invalidate(const Region& invalidation) {
- if (invalidation.IsEmpty())
- return;
-
- for (size_t i = 0; i < tilings_.size(); ++i)
- tilings_[i]->Invalidate(invalidation);
-}
-
const PictureLayerTiling* PictureLayerTilingSet::AddTiling(
float contents_scale,
gfx::Size tile_size) {
diff --git a/cc/picture_layer_tiling_set.h b/cc/picture_layer_tiling_set.h
index ddb8ffa..11e2796 100644
--- a/cc/picture_layer_tiling_set.h
+++ b/cc/picture_layer_tiling_set.h
@@ -23,9 +23,6 @@ class CC_EXPORT PictureLayerTilingSet {
const Region& invalidation);
void Clone(const PictureLayerTiling* tiling, const Region& invalidation);
- // TODO(enne): Remove this once syncing happens to the pending tree.
- void Invalidate(const Region& invalidation);
-
void SetLayerBounds(gfx::Size layer_bounds);
gfx::Size LayerBounds() const;