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..f2af583cdf4c20a60b5e631c54a4901e0ccd3b67 100644 |
--- a/cc/resources/bitmap_content_layer_updater.cc |
+++ b/cc/resources/bitmap_content_layer_updater.cc |
@@ -91,12 +91,11 @@ void BitmapContentLayerUpdater::UpdateTexture(ResourceUpdateQueue* queue, |
gfx::Vector2d dest_offset, |
bool partial_update) { |
CHECK(canvas_); |
- ResourceUpdate upload = |
- ResourceUpdate::CreateFromCanvas(texture, |
- 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 |