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

Unified Diff: src/gpu/GrStencilAndCoverTextContext.h

Issue 1196683003: remove SkDeviceProperties (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 5 years, 6 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: src/gpu/GrStencilAndCoverTextContext.h
diff --git a/src/gpu/GrStencilAndCoverTextContext.h b/src/gpu/GrStencilAndCoverTextContext.h
index f5795d08415943d7a047fb03e26b6a4050a96ad1..f59f633bfd120080233ef4d2f1ce1f515b580f90 100644
--- a/src/gpu/GrStencilAndCoverTextContext.h
+++ b/src/gpu/GrStencilAndCoverTextContext.h
@@ -15,6 +15,7 @@
class GrTextStrike;
class GrPath;
class GrPathRange;
+class SkSurfaceProps;
/*
* This class implements text rendering using stencil and cover path rendering
@@ -24,7 +25,7 @@ class GrPathRange;
class GrStencilAndCoverTextContext : public GrTextContext {
public:
static GrStencilAndCoverTextContext* Create(GrContext*, GrDrawContext*,
- const SkDeviceProperties&);
+ const SkSurfaceProps&);
virtual ~GrStencilAndCoverTextContext();
@@ -68,7 +69,7 @@ private:
SkMatrix fLocalMatrix;
bool fUsingDeviceSpaceGlyphs;
- GrStencilAndCoverTextContext(GrContext*, GrDrawContext*, const SkDeviceProperties&);
+ GrStencilAndCoverTextContext(GrContext*, GrDrawContext*, const SkSurfaceProps&);
bool canDraw(const GrRenderTarget*, const GrClip&, const GrPaint&,
const SkPaint&, const SkMatrix& viewMatrix) override;

Powered by Google App Engine
This is Rietveld 408576698