summaryrefslogtreecommitdiffstats
path: root/cc/picture_pile_impl.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 03:50:53 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 03:50:53 +0000
commite6ac3a7dc961433c700ce53da199085738254e3f (patch)
tree2c610e1e84df308cf9da5092ed8b681158a39606 /cc/picture_pile_impl.h
parent09e6752c18cb6961efb5bf55d83576640cd70c8b (diff)
downloadchromium_src-e6ac3a7dc961433c700ce53da199085738254e3f.zip
chromium_src-e6ac3a7dc961433c700ce53da199085738254e3f.tar.gz
chromium_src-e6ac3a7dc961433c700ce53da199085738254e3f.tar.bz2
cc: Fix missing values on PicturePileImpl clones
Background color and tile grid info are never set on clones. Additionally, slow down raster scale factor is only set during activation, but clones have already been made. Since this value really comes from the LayerTreeHost's debug state, set it from the main thread side and push it over. This will prevent future attempts to set a value that won't get used. R=reveman@chromium.org BUG=188476 Review URL: https://chromiumcodereview.appspot.com/12449015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/picture_pile_impl.h')
-rw-r--r--cc/picture_pile_impl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/cc/picture_pile_impl.h b/cc/picture_pile_impl.h
index 8b023b4..5632f87 100644
--- a/cc/picture_pile_impl.h
+++ b/cc/picture_pile_impl.h
@@ -44,10 +44,6 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
skia::RefPtr<SkPicture> GetFlattenedPicture();
- void set_slow_down_raster_scale_factor(int factor) {
- slow_down_raster_scale_factor_for_debug_ = factor;
- }
-
struct Analysis {
Analysis();
@@ -70,8 +66,6 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
typedef std::vector<scoped_refptr<PicturePileImpl> > PicturePileVector;
PicturePileVector clones_;
- int slow_down_raster_scale_factor_for_debug_;
-
DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
};