Chromium Code Reviews| Index: cc/output/software_output_device.cc |
| diff --git a/cc/output/software_output_device.cc b/cc/output/software_output_device.cc |
| index 956ee6c5495510337196336dff84e992f4a177d6..5460b3f27b9c43ae863dddc0a91dde8371af46cc 100644 |
| --- a/cc/output/software_output_device.cc |
| +++ b/cc/output/software_output_device.cc |
| @@ -34,9 +34,10 @@ SkCanvas* SoftwareOutputDevice::BeginPaint(gfx::Rect damage_rect) { |
| void SoftwareOutputDevice::EndPaint(SoftwareFrameData* frame_data) { |
| DCHECK(device_); |
| if (frame_data) { |
| + frame_data->id = 0; |
|
danakj
2013/05/23 15:34:33
This frame id seems to be completely unused right
slavi
2013/05/28 18:55:13
It gets overriden in
content/renderer/gpu/composi
|
| frame_data->size = viewport_size_; |
| frame_data->damage_rect = damage_rect_; |
| - frame_data->dib_id = TransportDIB::Id(); |
| + frame_data->handle = base::SharedMemory::NULLHandle(); |
| } |
| } |
| @@ -55,7 +56,7 @@ void SoftwareOutputDevice::Scroll( |
| NOTIMPLEMENTED(); |
| } |
| -void SoftwareOutputDevice::ReclaimDIB(const TransportDIB::Id& id) { |
| +void SoftwareOutputDevice::ReclaimSoftwareFrame(int id) { |
| NOTIMPLEMENTED(); |
| } |