Index: content/browser/compositor/software_output_device_win.cc |
diff --git a/content/browser/compositor/software_output_device_win.cc b/content/browser/compositor/software_output_device_win.cc |
index 3ab7677a5432616240490ccee4ae120ab88f4250..0e2972b4872cdd85ea21d6b3565bd985c2e3c731 100644 |
--- a/content/browser/compositor/software_output_device_win.cc |
+++ b/content/browser/compositor/software_output_device_win.cc |
@@ -181,7 +181,7 @@ void SoftwareOutputDeviceWin::EndPaint() { |
SetWindowLong(hwnd_, GWL_EXSTYLE, style); |
skia::ScopedPlatformPaint spp(contents_.get()); |
- HDC dib_dc = spp.GetPlatformSurface(); |
+ HDC dib_dc = spp.GetNativeDrawingContext(); |
::UpdateLayeredWindow(hwnd_, NULL, &position, &size, dib_dc, &zero, |
RGB(0xFF, 0xFF, 0xFF), &blend, ULW_ALPHA); |
} else { |