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

Unified Diff: cc/resources/resource_update.h

Issue 16069004: cc: Remove legacy accelerated painting path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Base files missing blahblahblah Created 7 years, 7 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 6484da20bac552a979cdd6ed7aaeb1aade0bf471..47bef7da189bc3c492e2919a2a3f76ac5d7c419f 100644
--- a/cc/resources/resource_update.h
+++ b/cc/resources/resource_update.h
@@ -12,7 +12,6 @@
#include "ui/gfx/vector2d.h"
class SkBitmap;
-class SkPicture;
class SkCanvas;
namespace cc {
@@ -30,18 +29,12 @@ struct CC_EXPORT ResourceUpdate {
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;
skia::RefPtr<SkCanvas> canvas;
gfx::Rect content_rect;
gfx::Rect source_rect;

Powered by Google App Engine
This is Rietveld 408576698