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

Unified Diff: content/browser/frame_host/navigation_entry_screenshot_manager.cc

Issue 382623002: SkBitmap::Config is no more, use SkColorType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed some for chromeos and win Created 6 years, 5 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
Index: content/browser/frame_host/navigation_entry_screenshot_manager.cc
diff --git a/content/browser/frame_host/navigation_entry_screenshot_manager.cc b/content/browser/frame_host/navigation_entry_screenshot_manager.cc
index 06074fdedd836495bf7eb7bdaca4d08bed1f4866..a7cae65601347d5294182da33a67f122709e8994 100644
--- a/content/browser/frame_host/navigation_entry_screenshot_manager.cc
+++ b/content/browser/frame_host/navigation_entry_screenshot_manager.cc
@@ -53,7 +53,7 @@ class ScreenshotData : public base::RefCountedThreadSafe<ScreenshotData> {
void EncodeOnWorker(const SkBitmap& bitmap) {
std::vector<unsigned char> data;
- // Paint |bitmap| to a kA8_Config SkBitmap
+ // Paint |bitmap| to a kAlpha_8_SkColorType SkBitmap
SkBitmap a8Bitmap;
a8Bitmap.allocPixels(SkImageInfo::MakeA8(bitmap.width(), bitmap.height()));
SkCanvas canvas(a8Bitmap);
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | content/browser/media/capture/web_contents_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698