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

Unified Diff: content/browser/compositor/software_output_device_mac.mm

Issue 791753002: SkCanvas::NewRaster is deprecated, create a surface instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update x11 Created 6 years 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 | « cc/output/software_output_device.cc ('k') | content/browser/compositor/software_output_device_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/software_output_device_mac.mm
diff --git a/content/browser/compositor/software_output_device_mac.mm b/content/browser/compositor/software_output_device_mac.mm
index 129c9d8bb6a7c424ed85b16016517d56fae0f911..70ca4b411b48e67cdb97e1eef2f94710ca4fe911 100644
--- a/content/browser/compositor/software_output_device_mac.mm
+++ b/content/browser/compositor/software_output_device_mac.mm
@@ -21,7 +21,7 @@ SoftwareOutputDeviceMac::~SoftwareOutputDeviceMac() {
void SoftwareOutputDeviceMac::EndPaint(cc::SoftwareFrameData* frame_data) {
SoftwareOutputDevice::EndPaint(frame_data);
ui::AcceleratedWidgetMacGotSoftwareFrame(
- compositor_->widget(), scale_factor_, canvas_.get());
+ compositor_->widget(), scale_factor_, surface_->getCanvas());
}
} // namespace content
« no previous file with comments | « cc/output/software_output_device.cc ('k') | content/browser/compositor/software_output_device_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698