Index: cc/resource_provider.h |
diff --git a/cc/resource_provider.h b/cc/resource_provider.h |
index 45b99eb85d825585823bd3558741fe3909381141..b90524b5d323d61322befbfe0309d997ef7d6b4e 100644 |
--- a/cc/resource_provider.h |
+++ b/cc/resource_provider.h |
@@ -95,8 +95,8 @@ public: |
// Deletes all resources owned by a given pool. |
void deleteOwnedResources(int pool); |
- // Upload data from image, copying sourceRect (in image) into destRect (in the resource). |
- void upload(ResourceId, const uint8_t* image, const gfx::Rect& imageRect, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset); |
+ // Update pixels from image, copying sourceRect (in image) into destRect (in the resource). |
+ void setPixels(ResourceId, const uint8_t* image, const gfx::Rect& imageRect, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset); |
// Check upload status. |
size_t numBlockingUploads(); |