summaryrefslogtreecommitdiffstats
path: root/cc/resources/tile.h
diff options
context:
space:
mode:
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 19:34:10 +0000
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 19:34:10 +0000
commitda9c84a3699e85b4c32c817313dd4652c5ecbab8 (patch)
treed9172ee4283d94732a7ed8cca85e1461d205423d /cc/resources/tile.h
parentceea12202cd521eb7c11ec76842a3de65f54b883 (diff)
downloadchromium_src-da9c84a3699e85b4c32c817313dd4652c5ecbab8.zip
chromium_src-da9c84a3699e85b4c32c817313dd4652c5ecbab8.tar.gz
chromium_src-da9c84a3699e85b4c32c817313dd4652c5ecbab8.tar.bz2
cc: Remove analysis from tile manager
Analysis is only used by the raster task. It's the part that fills in the analysis, and it's also the part that consumes it. I think it makes sense moving it deeper in, instead of allocating it early and passing it around. BUG=248765 Review URL: https://chromiumcodereview.appspot.com/16341005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206134 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/tile.h')
-rw-r--r--cc/resources/tile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 8b4e304..2cd4997 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -82,8 +82,8 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
}
gfx::Rect opaque_rect() const { return opaque_rect_; }
- bool has_text() const {
- return managed_state_.picture_pile_analysis.has_text;
+ bool has_text(RasterMode mode) const {
+ return managed_state_.tile_versions[mode].has_text_;
}
float contents_scale() const { return contents_scale_; }