| Index: cc/resources/resource_provider.h
|
| diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
|
| index 8a09f1c6b03939734c4238fc9a456aa6d97bbd0f..aff7565a2854fe4ef320f525dd0850301bbe86ef 100644
|
| --- a/cc/resources/resource_provider.h
|
| +++ b/cc/resources/resource_provider.h
|
| @@ -370,6 +370,7 @@ class CC_EXPORT ResourceProvider
|
| SkSurface* sk_surface() { return sk_surface_.get(); }
|
|
|
| gfx::Size GetResourceSize() const { return resource_->size; }
|
| + ResourceFormat GetResourceFormat() const { return resource_->format; }
|
|
|
| void UpdateResourceSyncToken(const gpu::SyncToken& sync_token) {
|
| set_sync_token_ = true;
|
| @@ -686,7 +687,7 @@ class CC_EXPORT ResourceProvider
|
| // A process-unique ID used for disambiguating memory dumps from different
|
| // resource providers.
|
| int tracing_id_;
|
| -
|
| + friend class GpuRasterizer;
|
| DISALLOW_COPY_AND_ASSIGN(ResourceProvider);
|
| };
|
|
|
|
|