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

Unified Diff: cc/output/gl_renderer.cc

Issue 314563002: use setInfo instead of (deprecated) setConfig (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 3f5bd1a5d84f35b76bf4aa4edaa7c8c5168651de..6161c51aaa7ad4f005caa51a440c0a500ed52a57 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -648,7 +648,7 @@ static SkBitmap ApplyImageFilter(
};
// Place the platform texture inside an SkBitmap.
SkBitmap source;
- source.setConfig(info);
+ source.setInfo(info);
skia::RefPtr<SkGrPixelRef> pixel_ref =
skia::AdoptRef(new SkGrPixelRef(info, texture.get()));
source.setPixelRef(pixel_ref.get());
@@ -752,7 +752,7 @@ static SkBitmap ApplyBlendModeWithBackdrop(
};
// Place the platform texture inside an SkBitmap.
SkBitmap source;
- source.setConfig(source_info);
+ source.setInfo(source_info);
skia::RefPtr<SkGrPixelRef> source_pixel_ref =
skia::AdoptRef(new SkGrPixelRef(source_info, source_texture.get()));
source.setPixelRef(source_pixel_ref.get());
@@ -765,7 +765,7 @@ static SkBitmap ApplyBlendModeWithBackdrop(
};
SkBitmap background;
- background.setConfig(background_info);
+ background.setInfo(background_info);
skia::RefPtr<SkGrPixelRef> background_pixel_ref =
skia::AdoptRef(new SkGrPixelRef(
background_info, background_texture.get()));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698