summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.cpp b/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.cpp
index 03d9b81..867ff56 100644
--- a/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.cpp
+++ b/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.cpp
@@ -1017,6 +1017,7 @@ IntRect PlatformGraphicsContextRecording::calculateCoveredBounds(FloatRect bound
{
if (mRecordingStateStack.last().mOpaqueTrackingDisabled
|| m_state->alpha != 1.0f
+ || (m_state->fillShader != 0 && !m_state->fillShader->isOpaque())
|| (m_state->mode != SkXfermode::kSrc_Mode && m_state->mode != SkXfermode::kSrcOver_Mode)
|| !mCurrentMatrix->rectStaysRect()) {
return IntRect();