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

Unified Diff: content/browser/renderer_host/backing_store_skia.cc

Issue 6879013: skia::PlatformCanvas is being deprecated. Going forward we will use gfx::Canvas wherever we need ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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: content/browser/renderer_host/backing_store_skia.cc
===================================================================
--- content/browser/renderer_host/backing_store_skia.cc (revision 82144)
+++ content/browser/renderer_host/backing_store_skia.cc (working copy)
@@ -31,7 +31,7 @@
void BackingStoreSkia::SkiaShowRect(const gfx::Point& point,
gfx::Canvas* canvas) {
- canvas->AsCanvasSkia()->drawBitmap(bitmap_,
+ canvas->AsCanvasSkia()->skia_canvas()->drawBitmap(bitmap_,
SkIntToScalar(point.x()), SkIntToScalar(point.y()));
}
« no previous file with comments | « chrome/common/extensions/extension_action.cc ('k') | content/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698