summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/VideoLayerAndroid.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-03-15 18:20:42 -0700
committerNicolas Roard <nicolasroard@google.com>2011-03-16 23:43:46 -0700
commit9f5143f9ae49a8e5fdb7ea626c4efad66096b020 (patch)
treeb1d3eb92be0b354b8f662f50653da96c4d3cbdc8 /WebCore/platform/graphics/android/VideoLayerAndroid.cpp
parent8e1d10880da3108f7eb53ae81682a7c4192a2e3f (diff)
downloadexternal_webkit-9f5143f9ae49a8e5fdb7ea626c4efad66096b020.zip
external_webkit-9f5143f9ae49a8e5fdb7ea626c4efad66096b020.tar.gz
external_webkit-9f5143f9ae49a8e5fdb7ea626c4efad66096b020.tar.bz2
Implement partial screen invalidations
bug:3461349 Change-Id: Id654d176c58027c67be7cb604b87c0ec68984525
Diffstat (limited to 'WebCore/platform/graphics/android/VideoLayerAndroid.cpp')
-rw-r--r--WebCore/platform/graphics/android/VideoLayerAndroid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/VideoLayerAndroid.cpp b/WebCore/platform/graphics/android/VideoLayerAndroid.cpp
index 2eced57..697281c 100644
--- a/WebCore/platform/graphics/android/VideoLayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/VideoLayerAndroid.cpp
@@ -101,7 +101,7 @@ GLuint VideoLayerAndroid::createPauseTexture()
return texture;
}
-bool VideoLayerAndroid::drawGL(SkMatrix& matrix)
+bool VideoLayerAndroid::drawGL(GLWebViewState* glWebViewState, SkMatrix& matrix)
{
// Lazy allocated the paused texture.
if (!m_createdPauseTexture) {
@@ -127,7 +127,7 @@ bool VideoLayerAndroid::drawGL(SkMatrix& matrix)
rect, m_textureId);
}
- return drawChildrenGL(matrix);
+ return drawChildrenGL(glWebViewState, matrix);
}
}