Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index 74edfa16aa34060e5479d75779876cc9ee1b1e15..7ade0d6881fb476d09c66f60656a3fd774587a4a 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -120,8 +120,15 @@ class NullCompositor : public content::Compositor { |
return 0; |
} |
virtual void DeleteTexture(WebKit::WebGLId texture_id) OVERRIDE {} |
- virtual void CopyTextureToBitmap(WebKit::WebGLId texture_id, |
- gfx::JavaBitmap& bitmap) OVERRIDE {} |
+ virtual bool CopyTextureToBitmap(WebKit::WebGLId texture_id, |
+ gfx::JavaBitmap& bitmap) OVERRIDE { |
+ return false; |
+ } |
+ virtual bool CopyTextureToBitmap(WebKit::WebGLId texture_id, |
+ const gfx::Rect& src_rect, |
+ gfx::JavaBitmap& bitmap) OVERRIDE { |
+ return false; |
+ } |
virtual void SetHasTransparentBackground(bool flag) OVERRIDE {} |
}; |