| Index: cc/test/fake_scoped_ui_resource.cc
|
| diff --git a/cc/test/fake_scoped_ui_resource.cc b/cc/test/fake_scoped_ui_resource.cc
|
| index 81e26d929ab6e621b44fa8b31851c9c50e44d0c7..9d1ac454a794dc60723869878bd73f75557c316f 100644
|
| --- a/cc/test/fake_scoped_ui_resource.cc
|
| +++ b/cc/test/fake_scoped_ui_resource.cc
|
| @@ -32,6 +32,11 @@ FakeScopedUIResource::FakeScopedUIResource(LayerTreeHost* host)
|
| id_ = host_->CreateUIResource(this);
|
| }
|
|
|
| +void FakeScopedUIResource::DeleteResource() {
|
| + host_->DeleteUIResource(id_);
|
| + id_ = 0;
|
| +}
|
| +
|
| UIResourceBitmap FakeScopedUIResource::GetBitmap(UIResourceId uid,
|
| bool resource_lost) {
|
| resource_create_count++;
|
|
|