| Index: ui/snapshot/snapshot_aura_unittest.cc
|
| diff --git a/ui/snapshot/snapshot_aura_unittest.cc b/ui/snapshot/snapshot_aura_unittest.cc
|
| index da46bcc0e0f0297cc4eb9bb31176faf0b3791410..da26bcc8dc927b8553e370c895365d2b263a5d1f 100644
|
| --- a/ui/snapshot/snapshot_aura_unittest.cc
|
| +++ b/ui/snapshot/snapshot_aura_unittest.cc
|
| @@ -100,7 +100,7 @@ class SnapshotAuraTest : public testing::Test {
|
| gfx::Rect local_bounds(test_window_->bounds().size());
|
| ui::GrabWindowSnapshot(test_window(), &png_representation, local_bounds);
|
| return gfx::Image::CreateFrom1xPNGBytes(
|
| - &(png_representation[0]), png_representation.size());
|
| + base::RefCountedBytes::TakeVector(&png_representation));
|
| }
|
|
|
| private:
|
|
|