summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/tabs/native_view_photobooth_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/tabs/native_view_photobooth_win.cc')
-rw-r--r--chrome/browser/ui/views/tabs/native_view_photobooth_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/tabs/native_view_photobooth_win.cc b/chrome/browser/ui/views/tabs/native_view_photobooth_win.cc
index c545d44..550acb8 100644
--- a/chrome/browser/ui/views/tabs/native_view_photobooth_win.cc
+++ b/chrome/browser/ui/views/tabs/native_view_photobooth_win.cc
@@ -110,7 +110,7 @@ void NativeViewPhotoboothWin::PaintScreenshotIntoCanvas(
SRCCOPY);
// Windows screws up the alpha channel on all text it draws, and so we need
// to call makeOpaque _after_ the blit to correct for this.
- skia::MakeOpaque(canvas->AsCanvasSkia(), target_bounds.x(),
+ skia::MakeOpaque(canvas->GetSkCanvas(), target_bounds.x(),
target_bounds.y(), target_bounds.width(),
target_bounds.height());
ReleaseDC(current_hwnd_, source_dc);