diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 0d1c7910b0c2..960504f93dbc 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -1272,7 +1272,9 @@ void WebContents::CapturePage(mate::Arguments* args) { host->CopyFromBackingStore( gfx::Rect(rect.origin(), view_size), bitmap_size, - base::Bind(&WebContents::OnCapturePageDone, base::Unretained(this), callback), + base::Bind(&WebContents::OnCapturePageDone, + base::Unretained(this), + callback), kBGRA_8888_SkColorType); }