diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-28 22:29:31 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-28 22:34:23 +0200 |
commit | 0109a5b04ec4fc3a31d941faa9ea7c9f37590c49 (patch) | |
tree | 1bc9b277ee5d216b3183b491e8d747b2c7c2c59c /vcl/inc/android | |
parent | I think this is such a serious problem that an assert() is in order (diff) | |
download | core-0109a5b04ec4fc3a31d941faa9ea7c9f37590c49.tar.gz core-0109a5b04ec4fc3a31d941faa9ea7c9f37590c49.zip |
Drop unuse maRedrawRegion
I saw crashes or getting stuck in a loop in the Region code for some unknown
reason. Below in the backtrace was the call to Region::Union() in
AndroidSalInstance::damaged(). As the maRedrawRegion wasn't actually used for
anything, let's bin it then for now... No crashes now, knock on wood.
I still don't know whether the switch from SalFooEvents and CallCallback() to
FooEvents and PostFooEvent() helped anything or not.
Change-Id: Iba867daa37a206953cdb765905fa5eb3fca4d08e
Diffstat (limited to 'vcl/inc/android')
-rw-r--r-- | vcl/inc/android/androidinst.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx index 9ae3baaf4a30..34c0d6e02716 100644 --- a/vcl/inc/android/androidinst.hxx +++ b/vcl/inc/android/androidinst.hxx @@ -65,10 +65,9 @@ public: void RedrawWindows(ANativeWindow *pWindow, ANativeWindow_Buffer *pBuffer = NULL); SalFrame *getFocusFrame() const; - void damaged(AndroidSalFrame *frame, const Rectangle &rRect); + void damaged(AndroidSalFrame *frame); protected: virtual void DoReleaseYield( int nTimeoutMS ); - Region maRedrawRegion; bool mbQueueReDraw; }; |