Index: Source/core/platform/graphics/GraphicsContext.h |
diff --git a/Source/core/platform/graphics/GraphicsContext.h b/Source/core/platform/graphics/GraphicsContext.h |
index b541fa04afe3acc021206a01f6f5725ca1aecc01..2131746da1a8efda65f61fec912768dc4baaf265 100644 |
--- a/Source/core/platform/graphics/GraphicsContext.h |
+++ b/Source/core/platform/graphics/GraphicsContext.h |
@@ -163,6 +163,9 @@ public: |
CompositeOperator compositeOperation() const { return m_state->m_compositeOperator; } |
BlendMode blendModeOperation() const { return m_state->m_blendMode; } |
+ void setDrawLuminanceMask(bool drawLuminanceMask) { m_state->m_drawLuminanceMask = drawLuminanceMask; } |
+ bool drawLuminanceMask() const { return m_state->m_drawLuminanceMask; } |
+ |
// Change the way document markers are rendered. |
// Any deviceScaleFactor higher than 1.5 is enough to justify setting this flag. |
void setUseHighResMarkers(bool isHighRes) { m_useHighResMarker = isHighRes; } |