diff options
author | vmpstr <vmpstr@chromium.org> | 2016-03-11 20:50:12 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-12 04:52:24 +0000 |
commit | 819d8e06e661be70d11df1feb38ae49feb9d49b8 (patch) | |
tree | 1dbebc30de3ae21052c01ffca7807bfeb5c1e7af /cc/debug | |
parent | 0978e4ebde4a1c07f4e8da88cc9daa7732a63b1a (diff) | |
download | chromium_src-819d8e06e661be70d11df1feb38ae49feb9d49b8.zip chromium_src-819d8e06e661be70d11df1feb38ae49feb9d49b8.tar.gz chromium_src-819d8e06e661be70d11df1feb38ae49feb9d49b8.tar.bz2 |
cc: Don't ref ptr -> raw ptr -> ref ptr for raster_source.
This patch eliminates the conversion to a raster source raw pointer
when we're passing this down to a raster task, since the raster task
needs to have partial ownership of it.
R=danakj
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1777383002
Cr-Commit-Position: refs/heads/master@{#380853}
Diffstat (limited to 'cc/debug')
-rw-r--r-- | cc/debug/rasterize_and_record_benchmark_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc index 86340ab..47cc016 100644 --- a/cc/debug/rasterize_and_record_benchmark_impl.cc +++ b/cc/debug/rasterize_and_record_benchmark_impl.cc @@ -178,7 +178,7 @@ void RasterizeAndRecordBenchmarkImpl::RunOnLayer(PictureLayerImpl* layer) { tiling_set->AddTiling(1.f, layer->GetRasterSource()); tiling->set_resolution(HIGH_RESOLUTION); tiling->CreateAllTilesForTesting(); - DisplayListRasterSource* raster_source = tiling->raster_source(); + DisplayListRasterSource* raster_source = tiling->raster_source().get(); for (PictureLayerTiling::CoverageIterator it(tiling, 1.f, layer->visible_layer_rect()); it; ++it) { |