diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-21 01:49:52 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-21 01:49:52 +0000 |
commit | f571bc032bdfab736cb212b56e83dcb95ec5d7c6 (patch) | |
tree | db71d0f39010ce44ac18e76226b83f5b623a2f6b /cc | |
parent | cf6c86f8d7288f0a46a9310f85101cb050d0a46d (diff) | |
download | chromium_src-f571bc032bdfab736cb212b56e83dcb95ec5d7c6.zip chromium_src-f571bc032bdfab736cb212b56e83dcb95ec5d7c6.tar.gz chromium_src-f571bc032bdfab736cb212b56e83dcb95ec5d7c6.tar.bz2 |
Remove unused function in PictureLayerTiling
R=vmpstr@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/292883002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/resources/picture_layer_tiling.cc | 7 | ||||
-rw-r--r-- | cc/resources/picture_layer_tiling.h | 4 |
2 files changed, 1 insertions, 10 deletions
diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc index 46792d0..f0b38db 100644 --- a/cc/resources/picture_layer_tiling.cc +++ b/cc/resources/picture_layer_tiling.cc @@ -122,13 +122,6 @@ Tile* PictureLayerTiling::CreateTile(int i, return tile.get(); } -Region PictureLayerTiling::OpaqueRegionInContentRect( - const gfx::Rect& content_rect) const { - Region opaque_region; - // TODO(enne): implement me - return opaque_region; -} - void PictureLayerTiling::SetCanUseLCDText(bool can_use_lcd_text) { for (TileMap::iterator it = tiles_.begin(); it != tiles_.end(); ++it) it->second->set_can_use_lcd_text(can_use_lcd_text); diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h index 538117c..feb40ff 100644 --- a/cc/resources/picture_layer_tiling.h +++ b/cc/resources/picture_layer_tiling.h @@ -74,7 +74,7 @@ class CC_EXPORT PictureLayerTiling { bool TileNeedsRaster(Tile* tile) const { RasterMode mode = tile->DetermineRasterModeForTree(tree_); return tile->NeedsRasterForMode(mode); - }; + } PictureLayerTiling* tiling_; @@ -208,8 +208,6 @@ class CC_EXPORT PictureLayerTiling { friend class PictureLayerTiling; }; - Region OpaqueRegionInContentRect(const gfx::Rect& content_rect) const; - void Reset(); void UpdateTilePriorities(WhichTree tree, |