Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1204)

Unified Diff: cc/resources/resource_update.h

Issue 12737009: cc: Chromify ResourceUpdate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/resources/resource_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_update.h
diff --git a/cc/resources/resource_update.h b/cc/resources/resource_update.h
index 1158e6144292142d990646b41c17e2112edab3eb..caf63d99ebf1cfa9dd51fd715e8014d207e1bbe9 100644
--- a/cc/resources/resource_update.h
+++ b/cc/resources/resource_update.h
@@ -17,26 +17,26 @@ namespace cc {
class PrioritizedResource;
struct CC_EXPORT ResourceUpdate {
- static ResourceUpdate Create(PrioritizedResource*,
- const SkBitmap*,
- gfx::Rect content_rect,
- gfx::Rect source_rect,
- gfx::Vector2d dest_offset);
- static ResourceUpdate CreateFromPicture(PrioritizedResource*,
- SkPicture*,
- gfx::Rect content_rect,
- gfx::Rect source_rect,
- gfx::Vector2d dest_offset);
-
- ResourceUpdate();
- virtual ~ResourceUpdate();
-
- PrioritizedResource* texture;
- const SkBitmap* bitmap;
- SkPicture* picture;
- gfx::Rect content_rect;
- gfx::Rect source_rect;
- gfx::Vector2d dest_offset;
+ static ResourceUpdate Create(PrioritizedResource* resource,
+ const SkBitmap* bitmap,
+ gfx::Rect content_rect,
+ gfx::Rect source_rect,
+ gfx::Vector2d dest_offset);
+ static ResourceUpdate CreateFromPicture(PrioritizedResource* resource,
+ SkPicture* bitmap,
+ gfx::Rect content_rect,
+ gfx::Rect source_rect,
+ gfx::Vector2d dest_offset);
+
+ ResourceUpdate();
+ virtual ~ResourceUpdate();
+
+ PrioritizedResource* texture;
+ const SkBitmap* bitmap;
+ SkPicture* picture;
+ gfx::Rect content_rect;
+ gfx::Rect source_rect;
+ gfx::Vector2d dest_offset;
};
}
« no previous file with comments | « no previous file | cc/resources/resource_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698