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

Unified Diff: cc/playback/raster_source_unittest.cc

Issue 2541183002: cc: Rename ImageDecodeController to ImageDecodeCache. (Closed)
Patch Set: rename: update Created 4 years 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 | « cc/playback/raster_source.cc ('k') | cc/raster/gpu_raster_buffer_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source_unittest.cc
diff --git a/cc/playback/raster_source_unittest.cc b/cc/playback/raster_source_unittest.cc
index 0dc74f8334ad8cad6a3278c12e77435177567627..2d04bb2bc153471cce2bf3ec449a8e888f64ba02 100644
--- a/cc/playback/raster_source_unittest.cc
+++ b/cc/playback/raster_source_unittest.cc
@@ -10,7 +10,7 @@
#include "cc/test/fake_recording_source.h"
#include "cc/test/skia_common.h"
-#include "cc/tiles/software_image_decode_controller.h"
+#include "cc/tiles/software_image_decode_cache.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkPixelRef.h"
#include "third_party/skia/include/core/SkRefCnt.h"
@@ -581,10 +581,10 @@ TEST(RasterSourceTest, ImageHijackCanvasRespectsSharedCanvasTransform) {
bool can_use_lcd = true;
scoped_refptr<RasterSource> raster_source =
recording_source->CreateRasterSource(can_use_lcd);
- SoftwareImageDecodeController controller(
+ SoftwareImageDecodeCache controller(
ResourceFormat::RGBA_8888,
LayerTreeSettings().software_decoded_image_budget_bytes);
- raster_source->set_image_decode_controller(&controller);
+ raster_source->set_image_decode_cache(&controller);
SkBitmap bitmap;
bitmap.allocN32Pixels(size.width() * 0.5f, size.height() * 0.25f);
« no previous file with comments | « cc/playback/raster_source.cc ('k') | cc/raster/gpu_raster_buffer_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698