Index: cc/resources/resource_provider.h |
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h |
index 688c6076f82a4d6caf899ec6f911c11a3db926ef..ea5b3e1b4269e830639d8df60d45d06c7c617c4a 100644 |
--- a/cc/resources/resource_provider.h |
+++ b/cc/resources/resource_provider.h |
@@ -159,9 +159,9 @@ class CC_EXPORT ResourceProvider |
const uint8_t* image, |
const gfx::Size& image_size); |
- // Only flush the command buffer if supported. |
- // Returns true if the shallow flush occurred, false otherwise. |
- bool ShallowFlushIfSupported(); |
+ // Generates sync tokesn for resources which need a sync token. |
+ void GenerateSyncTokenForResource(ResourceId resource_id); |
+ void GenerateSyncTokenForResources(const ResourceIdArray& resource_ids); |
// Creates accounting for a child. Returns a child ID. |
int CreateChild(const ReturnCallback& return_callback); |