diff options
Diffstat (limited to 'WebCore/platform')
-rw-r--r-- | WebCore/platform/graphics/android/LayerAndroid.h | 2 | ||||
-rw-r--r-- | WebCore/platform/graphics/android/MediaLayer.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.h b/WebCore/platform/graphics/android/LayerAndroid.h index fb6c4c7..1156601 100644 --- a/WebCore/platform/graphics/android/LayerAndroid.h +++ b/WebCore/platform/graphics/android/LayerAndroid.h @@ -109,7 +109,7 @@ public: void reserveGLTextures(); void createGLTextures(); - bool needsTexture(); + virtual bool needsTexture(); void checkForObsolescence(); virtual bool drawGL(SkMatrix&); diff --git a/WebCore/platform/graphics/android/MediaLayer.h b/WebCore/platform/graphics/android/MediaLayer.h index 2ff3197..eb56440 100644 --- a/WebCore/platform/graphics/android/MediaLayer.h +++ b/WebCore/platform/graphics/android/MediaLayer.h @@ -44,6 +44,7 @@ public: virtual bool drawGL(SkMatrix&); virtual void paintBitmapGL() const { }; + virtual bool needsTexture() { return false; } virtual bool isMedia() const { return true; } virtual LayerAndroid* copy() const { return new MediaLayer(*this); } |