diff options
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/CanvasTexture.cpp | 4 | ||||
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/CanvasTexture.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/layers/CanvasTexture.cpp b/Source/WebCore/platform/graphics/android/layers/CanvasTexture.cpp index 66a4e1edc..ccab4436a 100644 --- a/Source/WebCore/platform/graphics/android/layers/CanvasTexture.cpp +++ b/Source/WebCore/platform/graphics/android/layers/CanvasTexture.cpp @@ -98,7 +98,7 @@ void CanvasTexture::setSize(const IntSize& size) } } -Surface* CanvasTexture::nativeWindow() +android::Surface* CanvasTexture::nativeWindow() { android::Mutex::Autolock lock(m_surfaceLock); if (m_ANW.get()) @@ -127,7 +127,7 @@ Surface* CanvasTexture::nativeWindow() bool CanvasTexture::uploadImageBuffer(ImageBuffer* imageBuffer) { m_hasValidTexture = false; - Surface* anw = nativeWindow(); + android::Surface* anw = nativeWindow(); if (!anw) return false; // Size mismatch, early abort (will fall back to software) diff --git a/Source/WebCore/platform/graphics/android/layers/CanvasTexture.h b/Source/WebCore/platform/graphics/android/layers/CanvasTexture.h index 15f075ecb..156143419 100644 --- a/Source/WebCore/platform/graphics/android/layers/CanvasTexture.h +++ b/Source/WebCore/platform/graphics/android/layers/CanvasTexture.h @@ -53,7 +53,7 @@ public: * Called by WebKit thread ********************************************/ void setSize(const IntSize& size); - Surface* nativeWindow(); + android::Surface* nativeWindow(); bool uploadImageBuffer(ImageBuffer* imageBuffer); bool hasValidTexture() { return m_hasValidTexture; } |