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

Unified Diff: cc/test/fake_raster_source.cc

Issue 2710153004: cc: Fix up code to work with concrete cc paint types (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « cc/test/fake_raster_source.h ('k') | cc/test/fake_scrollbar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_raster_source.cc
diff --git a/cc/test/fake_raster_source.cc b/cc/test/fake_raster_source.cc
index a3e92c9617c112c3372d35bd5772c20f6f56f7d3..10ca00e8b0b702d5ea73a89507592da52e8c8fc9 100644
--- a/cc/test/fake_raster_source.cc
+++ b/cc/test/fake_raster_source.cc
@@ -7,6 +7,7 @@
#include <limits>
#include "base/synchronization/waitable_event.h"
+#include "cc/paint/paint_flags.h"
#include "cc/test/fake_recording_source.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
@@ -139,7 +140,7 @@ FakeRasterSource::FakeRasterSource(const RecordingSource* recording_source,
FakeRasterSource::~FakeRasterSource() {}
void FakeRasterSource::PlaybackToCanvas(
- PaintCanvas* canvas,
+ SkCanvas* canvas,
const PlaybackSettings& settings) const {
if (playback_allowed_event_)
playback_allowed_event_->Wait();
« no previous file with comments | « cc/test/fake_raster_source.h ('k') | cc/test/fake_scrollbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698