Chromium Code Reviews| Index: cc/resources/bitmap_content_layer_updater.cc |
| diff --git a/cc/resources/bitmap_content_layer_updater.cc b/cc/resources/bitmap_content_layer_updater.cc |
| index fd0fbdaf59790b8217a551602bfc7ee760703cd1..382be0edf51ac01b1ffb9785029ed580811fd4b2 100644 |
| --- a/cc/resources/bitmap_content_layer_updater.cc |
| +++ b/cc/resources/bitmap_content_layer_updater.cc |
| @@ -1,4 +1,4 @@ |
| -// Copyright 2011 The Chromium Authors. All rights reserved. |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
|
danakj
2014/01/08 17:49:59
We don't update the year in files. We only use the
enne (OOO)
2014/01/08 17:51:45
Don't update copyright.
simonhong
2014/01/09 04:36:25
Done.
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -91,12 +91,11 @@ void BitmapContentLayerUpdater::UpdateTexture(ResourceUpdateQueue* queue, |
| gfx::Vector2d dest_offset, |
| bool partial_update) { |
| CHECK(canvas_); |
| - ResourceUpdate upload = |
| - ResourceUpdate::CreateFromCanvas(texture, |
|
enne (OOO)
2014/01/08 17:51:45
Can this function be removed now along with the ca
simonhong
2014/01/09 04:36:25
I already removed ResourceUpdate::CreateFromCanvas
|
| - canvas_, |
| - content_rect(), |
| - source_rect, |
| - dest_offset); |
| + ResourceUpdate upload = ResourceUpdate::Create(texture, |
| + &bitmap_backing_, |
| + content_rect(), |
| + source_rect, |
| + dest_offset); |
| if (partial_update) |
| queue->AppendPartialUpload(upload); |
| else |