Index: src/gpu/gl/GrGLPath.cpp |
diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp |
index f5f66b8f8a8365b428895d857160d7b48d6cbf87..6417e684f9f61b985f1061ed7c8d47adcc7efdb4 100644 |
--- a/src/gpu/gl/GrGLPath.cpp |
+++ b/src/gpu/gl/GrGLPath.cpp |
@@ -88,8 +88,6 @@ inline void points_to_coords(const SkPoint points[], size_t first_point, size_t |
} |
} |
-static const bool kIsWrapped = false; // The constructor creates the GL path object. |
- |
void GrGLPath::InitPathObject(GrGLGpu* gpu, |
GrGLuint pathID, |
const SkPath& skPath, |
@@ -184,7 +182,7 @@ void GrGLPath::InitPathObject(GrGLGpu* gpu, |
} |
GrGLPath::GrGLPath(GrGLGpu* gpu, const SkPath& path, const SkStrokeRec& stroke) |
- : INHERITED(gpu, kIsWrapped, path, stroke), |
+ : INHERITED(gpu, path, stroke), |
fPathID(gpu->glPathRendering()->genPaths(1)) { |
InitPathObject(gpu, fPathID, fSkPath, stroke); |