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

Unified Diff: content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc

Issue 2758413002: cc/paint: Remove PaintCanvas::peekPixels. (Closed)
Patch Set: update Created 3 years, 9 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/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
diff --git a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
index 0176394535ff284efd5e3fcf58316e9edff0f36c..d5c2e3bdd0056e5a1b895995e3e1dbd1c25151df 100644
--- a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
+++ b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
@@ -105,7 +105,7 @@ TEST_F(PluginInstanceThrottlerImplTest, ThrottleByKeyframe) {
gfx::Canvas canvas(gfx::Size(20, 10), 1.0f, true);
canvas.FillRect(gfx::Rect(20, 10), SK_ColorBLACK);
canvas.FillRect(gfx::Rect(10, 10), SK_ColorWHITE);
- SkBitmap interesting_bitmap = canvas.ToBitmap();
+ SkBitmap interesting_bitmap = canvas.GetBitmap();
// Don't throttle for a boring frame.
throttler()->OnImageFlush(boring_bitmap);

Powered by Google App Engine
This is Rietveld 408576698