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

Unified Diff: cc/resources/resource_update.h

Issue 127053004: [cc] Unify static create method of ResourceUpdate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore copyright Created 6 years, 11 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
Index: cc/resources/resource_update.h
diff --git a/cc/resources/resource_update.h b/cc/resources/resource_update.h
index 47bef7da189bc3c492e2919a2a3f76ac5d7c419f..a3c810c74ded74030dfbcfed415f83637c17527f 100644
--- a/cc/resources/resource_update.h
+++ b/cc/resources/resource_update.h
@@ -24,18 +24,12 @@ struct CC_EXPORT ResourceUpdate {
gfx::Rect content_rect,
gfx::Rect source_rect,
gfx::Vector2d dest_offset);
- static ResourceUpdate CreateFromCanvas(PrioritizedResource* resource,
- const skia::RefPtr<SkCanvas>& canvas,
- gfx::Rect content_rect,
- gfx::Rect source_rect,
- gfx::Vector2d dest_offset);
ResourceUpdate();
virtual ~ResourceUpdate();
PrioritizedResource* texture;
const SkBitmap* bitmap;
- skia::RefPtr<SkCanvas> canvas;
gfx::Rect content_rect;
gfx::Rect source_rect;
gfx::Vector2d dest_offset;

Powered by Google App Engine
This is Rietveld 408576698