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

Unified Diff: cc/resources/resource_update.cc

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.cc
diff --git a/cc/resources/resource_update.cc b/cc/resources/resource_update.cc
index 1e44f505029102f4de09daf9a8f30586e0aa7735..5760ddf4a0dde663b3fdb6bb336d66638c1dc37d 100644
--- a/cc/resources/resource_update.cc
+++ b/cc/resources/resource_update.cc
@@ -5,7 +5,8 @@
#include "cc/resources/resource_update.h"
#include "base/logging.h"
-#include "skia/ext/platform_canvas.h"
+#include "third_party/skia/include/core/SkCanvas.h"
+#include "third_party/skia/include/core/SkDevice.h"
namespace cc {
@@ -41,25 +42,9 @@ ResourceUpdate ResourceUpdate::CreateFromCanvas(
return update;
}
-ResourceUpdate ResourceUpdate::CreateFromPicture(PrioritizedResource* texture,
- SkPicture* picture,
- gfx::Rect content_rect,
- gfx::Rect source_rect,
- gfx::Vector2d dest_offset) {
- CHECK(content_rect.Contains(source_rect));
- ResourceUpdate update;
- update.texture = texture;
- update.picture = picture;
- update.content_rect = content_rect;
- update.source_rect = source_rect;
- update.dest_offset = dest_offset;
- return update;
-}
-
ResourceUpdate::ResourceUpdate()
: texture(NULL),
- bitmap(NULL),
- picture(NULL) {}
+ bitmap(NULL) {}
ResourceUpdate::~ResourceUpdate() {}

Powered by Google App Engine
This is Rietveld 408576698