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

Unified Diff: ui/compositor/paint_context.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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 | « ui/compositor/BUILD.gn ('k') | ui/compositor/paint_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/paint_context.h
diff --git a/ui/compositor/paint_context.h b/ui/compositor/paint_context.h
index 459dccfc059411c634b433f57b640e6484eed37f..b9c51dd386a3dca5caf7daa4d15ea1a541f18511 100644
--- a/ui/compositor/paint_context.h
+++ b/ui/compositor/paint_context.h
@@ -9,6 +9,7 @@
#include "base/logging.h"
#include "base/macros.h"
+#include "cc/paint/paint_recorder.h"
#include "ui/compositor/compositor_export.h"
#include "ui/gfx/geometry/rect.h"
@@ -16,8 +17,6 @@ namespace cc {
class DisplayItemList;
}
-class SkPictureRecorder;
-
namespace ui {
class ClipRecorder;
class CompositingRecorder;
@@ -86,11 +85,11 @@ class COMPOSITOR_EXPORT PaintContext {
gfx::Rect ToLayerSpaceRect(const gfx::Rect& rect) const;
cc::DisplayItemList* list_;
- std::unique_ptr<SkPictureRecorder> owned_recorder_;
+ std::unique_ptr<cc::PaintRecorder> owned_recorder_;
// A pointer to the |owned_recorder_| in this PaintContext, or in another one
// which this was copied from. We expect a copied-from PaintContext to outlive
// copies made from it.
- SkPictureRecorder* recorder_;
+ cc::PaintRecorder* recorder_;
// The device scale of the frame being painted. Used to determine which bitmap
// resources to use in the frame.
float device_scale_factor_;
« no previous file with comments | « ui/compositor/BUILD.gn ('k') | ui/compositor/paint_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698