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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2717943002: Fix cc/paint skia type mismatches (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index d7236ccde67a75f57aca3fc1400de3f2c4701d71..85a9fa9165edb0e29a705f97cb1c2731c7a74ee8 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2538,8 +2538,7 @@ bool RenderViewImpl::didTapMultipleTargets(
SkImageInfo info = SkImageInfo::MakeN32Premul(canvas_size.width(),
canvas_size.height());
bitmap.installPixels(info, shared_bitmap->pixels(), info.minRowBytes());
- SkCanvas sk_canvas(bitmap);
- cc::PaintCanvasPassThrough canvas(&sk_canvas);
+ cc::PaintCanvas canvas(bitmap);
// TODO(trchen): Cleanup the device scale factor mess.
// device scale will be applied in WebKit
« no previous file with comments | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698