summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-16 21:06:06 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-16 21:06:06 +0000
commita8812a582467fd281fdb894c2146123679d481b4 (patch)
tree84d255f7ad7264be0a41568d56a0a56ac62746b9 /cc
parentc784a70fbfe0f729af6380293442418650f8229e (diff)
downloadchromium_src-a8812a582467fd281fdb894c2146123679d481b4.zip
chromium_src-a8812a582467fd281fdb894c2146123679d481b4.tar.gz
chromium_src-a8812a582467fd281fdb894c2146123679d481b4.tar.bz2
cc: Removed PicturePileImpl::Analysis::has_text_.
More dead code after r276918. BUG=368513 Review URL: https://codereview.chromium.org/330383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r--cc/resources/picture_pile_impl.cc4
-rw-r--r--cc/resources/picture_pile_impl.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc
index 2b9d094..90713b4 100644
--- a/cc/resources/picture_pile_impl.cc
+++ b/cc/resources/picture_pile_impl.cc
@@ -381,14 +381,14 @@ void PicturePileImpl::AnalyzeInRect(
RasterForAnalysis(&canvas, layer_rect, 1.0f, stats_instrumentation);
analysis->is_solid_color = canvas.GetColorIfSolid(&analysis->solid_color);
- analysis->has_text = canvas.HasText();
}
// Since there are situations when we can skip analysis, the variables have to
// be set to their safest values. That is, we have to assume that the tile is
// not solid color. As well, we have to assume that the tile has text so we
// don't early out incorrectly.
-PicturePileImpl::Analysis::Analysis() : is_solid_color(false), has_text(true) {}
+PicturePileImpl::Analysis::Analysis() : is_solid_color(false) {
+}
PicturePileImpl::Analysis::~Analysis() {
}
diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
index e4e82f9..ba19381 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -68,7 +68,6 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
~Analysis();
bool is_solid_color;
- bool has_text;
SkColor solid_color;
};