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

Unified Diff: src/gpu/GrPath.h

Issue 2342873002: Fix key computation for GrPaths (Closed)
Patch Set: more MSVS warnings Created 4 years, 3 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 | « no previous file | src/gpu/GrPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPath.h
diff --git a/src/gpu/GrPath.h b/src/gpu/GrPath.h
index ee3123f9b59a9c0ea4fa6c34d2c5a3d6c09f3cf7..19538370d50410a71b1ef4361f3de902d8eab186 100644
--- a/src/gpu/GrPath.h
+++ b/src/gpu/GrPath.h
@@ -14,6 +14,8 @@
#include "SkPath.h"
#include "SkRect.h"
+class GrShape;
+
class GrPath : public GrGpuResource {
public:
/**
@@ -30,8 +32,7 @@ public:
{
}
- static void ComputeKey(const SkPath& path, const GrStyle& style, GrUniqueKey* key,
- bool* outIsVolatile);
+ static void ComputeKey(const GrShape&, GrUniqueKey* key, bool* outIsVolatile);
const SkRect& getBounds() const { return fBounds; }
« no previous file with comments | « no previous file | src/gpu/GrPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698