| Index: tools/viewer/sk_app/android/surface_glue_android.h
|
| diff --git a/tools/viewer/sk_app/android/surface_glue_android.h b/tools/viewer/sk_app/android/surface_glue_android.h
|
| index 7ffba3080a9644b9125fb5bae3e08dd47f2dd1cc..a4698336f04b4ea1489eb7a1caaf70b84b5b4f92 100644
|
| --- a/tools/viewer/sk_app/android/surface_glue_android.h
|
| +++ b/tools/viewer/sk_app/android/surface_glue_android.h
|
| @@ -12,7 +12,6 @@
|
|
|
| #include <android/native_window_jni.h>
|
|
|
| -#include "../private/SkMutex.h"
|
| #include "../Application.h"
|
| #include "../Window.h"
|
|
|
| @@ -49,14 +48,10 @@ struct SkiaAndroidApp {
|
|
|
| void postMessage(const Message& message) const;
|
| void readMessage(Message* message) const;
|
| - void paintIfNeeded();
|
|
|
| // This must be called in SkiaAndroidApp's own pthread because the JNIEnv is thread sensitive
|
| void setTitle(const char* title) const;
|
|
|
| - // This posts a kContentInvalidated message if there's no such message currently in the queue
|
| - void inval();
|
| -
|
| private:
|
| pthread_t fThread;
|
| ANativeWindow* fNativeWindow;
|
| @@ -65,9 +60,6 @@ private:
|
| JNIEnv* fPThreadEnv;
|
| jmethodID fSetTitleMethodID;
|
|
|
| - bool fIsContentInvalidated = false; // use this to avoid duplicate invalidate events
|
| - SkMutex fMutex;
|
| -
|
| // This must be called in SkiaAndroidApp's own pthread because the JNIEnv is thread sensitive
|
| ~SkiaAndroidApp();
|
|
|
|
|