diff options
author | Nicolas Roard <nicolasroard@google.com> | 2011-04-04 18:40:11 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2011-04-07 17:19:47 -0700 |
commit | be61abb47b98988ca94bd839a1e17c3267365dc9 (patch) | |
tree | 882e56d46a248c276fe2d8a672738696f68f3279 /WebCore/platform/graphics/android/GLWebViewState.h | |
parent | e4cbbfc01b360475415d07bc3a4276fc46e828b9 (diff) | |
download | external_webkit-be61abb47b98988ca94bd839a1e17c3267365dc9.zip external_webkit-be61abb47b98988ca94bd839a1e17c3267365dc9.tar.gz external_webkit-be61abb47b98988ca94bd839a1e17c3267365dc9.tar.bz2 |
Fix for bug:4183801
The computation for the invalidated / clipping rects were wrong,
sometimes causing the linked bug when layers had a transparent
background (they were not obeying the clipping rect passed by
the framework).
java counterpart CL:
https://android-git.corp.google.com/g/#change,105503
Change-Id: I60769e7cbf1a3a939724c57b3d3ce63a6f87aa87
Diffstat (limited to 'WebCore/platform/graphics/android/GLWebViewState.h')
-rw-r--r-- | WebCore/platform/graphics/android/GLWebViewState.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/GLWebViewState.h b/WebCore/platform/graphics/android/GLWebViewState.h index 091bedc..ac75605 100644 --- a/WebCore/platform/graphics/android/GLWebViewState.h +++ b/WebCore/platform/graphics/android/GLWebViewState.h @@ -214,7 +214,8 @@ public: } bool drawGL(IntRect& rect, SkRect& viewport, IntRect* invalRect, - float scale, SkColor color = SK_ColorWHITE); + IntRect& webViewRect, int titleBarHeight, + IntRect& clip, float scale, SkColor color = SK_ColorWHITE); void setBackgroundColor(SkColor color) { m_backgroundColor = color; } SkColor getBackgroundColor() { return m_backgroundColor; } |