Index: ui/gl/android/surface_texture_listener.h |
diff --git a/ui/gl/android/surface_texture_listener.h b/ui/gl/android/surface_texture_listener.h |
index faab6be1eb1406526e14ac467485d45aad14db83..ce5c3c6e2a07e815fe44dd570e016209436bda28 100644 |
--- a/ui/gl/android/surface_texture_listener.h |
+++ b/ui/gl/android/surface_texture_listener.h |
@@ -18,7 +18,7 @@ namespace gfx { |
// Listener class for all the callbacks from android SurfaceTexture. |
class GL_EXPORT SurfaceTextureListener { |
-public: |
+ public: |
// Destroy this listener. |
void Destroy(JNIEnv* env, jobject obj); |
@@ -27,19 +27,12 @@ public: |
static bool RegisterSurfaceTextureListener(JNIEnv* env); |
-private: |
+ private: |
SurfaceTextureListener(const base::Closure& callback); |
~SurfaceTextureListener(); |
friend class SurfaceTextureBridge; |
- // Static factory method for the creation of a SurfaceTextureListener. |
- // The native code should not hold any reference to the returned object, |
- // but only use it to pass it up to Java for being referenced by a |
- // SurfaceTexture instance. |
bulach
2013/08/22 09:25:40
maybe keep this comment in the constructor? it sti
Yaron
2013/08/22 18:17:20
Done.
|
- static jobject CreateSurfaceTextureListener(JNIEnv* env, |
- const base::Closure& callback); |
- |
base::Closure callback_; |
scoped_refptr<base::MessageLoopProxy> browser_loop_; |