Chromium Code Reviews| Index: ui/gl/android/surface_texture.cc |
| diff --git a/ui/gl/android/surface_texture.cc b/ui/gl/android/surface_texture.cc |
| index bf9012adeb048a507c008ba1d60d0d640a9ff6df..a9f52dc5630e7cb439d9c9ca3bcb0fdb79cd8ecb 100644 |
| --- a/ui/gl/android/surface_texture.cc |
| +++ b/ui/gl/android/surface_texture.cc |
| @@ -87,19 +87,6 @@ void SurfaceTexture::GetTransformMatrix(float mtx[16]) { |
| env->ReleaseFloatArrayElements(jmatrix.obj(), elements, JNI_ABORT); |
| } |
| -void SurfaceTexture::SetDefaultBufferSize(int width, int height) { |
|
newt (away)
2015/03/04 01:41:02
This method hasn't been used since October 2013
no sievers
2015/03/04 17:54:04
Can you remove the declaration from the header fil
newt (away)
2015/03/04 23:25:06
Whoops. Done.
|
| - JNIEnv* env = base::android::AttachCurrentThread(); |
| - |
| - if (width > 0 && height > 0) { |
| - Java_SurfaceTexturePlatformWrapper_setDefaultBufferSize( |
| - env, j_surface_texture_.obj(), static_cast<jint>(width), |
| - static_cast<jint>(height)); |
| - } else { |
| - LOG(WARNING) << "Not setting surface texture buffer size - " |
| - "width or height is 0"; |
| - } |
| -} |
| - |
| void SurfaceTexture::AttachToGLContext() { |
| if (GlContextMethodsAvailable()) { |
| int texture_id; |