Index: include/gpu/GrPaint.h |
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h |
index 49b95b8449357e4872c78ee158549cca05363a2a..17bb11811f597b928d762bfa57d089de371d7166 100644 |
--- a/include/gpu/GrPaint.h |
+++ b/include/gpu/GrPaint.h |
@@ -156,13 +156,6 @@ public: |
*/ |
bool isOpaqueAndConstantColor(GrColor* constantColor) const; |
-private: |
- |
- /** |
- * Helper for isOpaque and isOpaqueAndConstantColor. |
- */ |
- bool getOpaqueAndKnownColor(GrColor* solidColor, uint32_t* solidColorKnownComponents) const; |
- |
/** |
* Called when the source coord system from which geometry is rendered changes. It ensures that |
* the local coordinates seen by effects remains unchanged. oldToNew gives the transformation |
@@ -199,6 +192,12 @@ private: |
return true; |
} |
+private: |
+ /** |
+ * Helper for isOpaque and isOpaqueAndConstantColor. |
+ */ |
+ bool getOpaqueAndKnownColor(GrColor* solidColor, uint32_t* solidColorKnownComponents) const; |
+ |
friend class GrContext; // To access above two functions |
friend class GrStencilAndCoverTextContext; // To access above two functions |