summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2011-08-31 14:46:17 -0700
committerTeng-Hui Zhu <ztenghui@google.com>2011-08-31 15:33:29 -0700
commit078f4452393311da6165131451fcf86e04e04f25 (patch)
tree4d5410e33b547c0fb727fa5fb82e7d3d432ea198 /Source/WebCore/platform/graphics/android/GLWebViewState.cpp
parentf735537049e4e7b11d2da9549b8fe5ba15e05e93 (diff)
downloadexternal_webkit-078f4452393311da6165131451fcf86e04e04f25.zip
external_webkit-078f4452393311da6165131451fcf86e04e04f25.tar.gz
external_webkit-078f4452393311da6165131451fcf86e04e04f25.tar.bz2
WebView animation support
bug:4982054 Change-Id: I6f4fe313d242f728a515c485a2531611d7166198
Diffstat (limited to 'Source/WebCore/platform/graphics/android/GLWebViewState.cpp')
-rw-r--r--Source/WebCore/platform/graphics/android/GLWebViewState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
index e07c86f..bc07925 100644
--- a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
+++ b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
@@ -473,7 +473,7 @@ double GLWebViewState::setupDrawing(IntRect& viewRect, SkRect& visibleRect,
glUseProgram(shader->program());
glUniform1i(shader->textureSampler(), 0);
shader->setViewRect(viewRect);
- shader->setViewport(visibleRect);
+ shader->setViewport(visibleRect, scale);
shader->setWebViewRect(webViewRect);
shader->setTitleBarHeight(titleBarHeight);
shader->setScreenClip(screenClip);