diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-05-23 15:02:14 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2011-05-23 15:02:14 -0700 |
commit | e17c8aeecb722a98f9cac8556cf7d49d7247a83a (patch) | |
tree | 911a5333d8b33105180010bc4c4f491f550514ad | |
parent | 635861a90dfb699f7c81038576ad7d993d2a9972 (diff) | |
download | external_webkit-e17c8aeecb722a98f9cac8556cf7d49d7247a83a.zip external_webkit-e17c8aeecb722a98f9cac8556cf7d49d7247a83a.tar.gz external_webkit-e17c8aeecb722a98f9cac8556cf7d49d7247a83a.tar.bz2 |
DO NOT MERGE: The clip should be effective even if it is empty.
bug:4473188
Change-Id: Ib38b31074dbd7f4905cf8bbd6539673678669638
-rw-r--r-- | WebCore/platform/graphics/android/ShaderProgram.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/WebCore/platform/graphics/android/ShaderProgram.cpp b/WebCore/platform/graphics/android/ShaderProgram.cpp index 9e0a4ab..558c118 100644 --- a/WebCore/platform/graphics/android/ShaderProgram.cpp +++ b/WebCore/platform/graphics/android/ShaderProgram.cpp @@ -332,9 +332,6 @@ void ShaderProgram::clip(const FloatRect& clip) if (clip == m_clipRect) return; - if (clip.width() == 0 && clip.height() == 0) - return; - // we should only call glScissor in this function, so that we can easily // track the current clipping rect. |