summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc')
-rw-r--r--cc/resources/picture_layer_tiling.cc7
-rw-r--r--cc/resources/picture_layer_tiling.h4
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,