summaryrefslogtreecommitdiffstats
path: root/Source/WebKit
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit')
-rw-r--r--Source/WebKit/android/nav/WebView.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp
index 22598eb..215bf43 100644
--- a/Source/WebKit/android/nav/WebView.cpp
+++ b/Source/WebKit/android/nav/WebView.cpp
@@ -723,7 +723,9 @@ class GLDrawFunctor : Functor {
localViewRect.setY(info->height - clip.y() - clip.height());
}
bool shouldDraw = (messageId == uirenderer::DrawGlInfo::kModeDraw);
- TilesManager::instance()->shader()->setWebViewMatrix(info->transform, info->isLayer);
+ // Send the necessary info to the shader.
+ TilesManager::instance()->shader()->setGLDrawInfo(info);
+
int returnFlags = (*wvInstance.*funcPtr)(localViewRect, &inval, webViewRect,
titlebarHeight, clip, scale, extras, shouldDraw);
if ((returnFlags & uirenderer::DrawGlInfo::kStatusDraw) != 0) {