fix a bug that caused artifacts when SWAP_RECTANGLE was enabled
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
index b981319..3ce93c0 100644
--- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
+++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
@@ -326,7 +326,7 @@
 #endif
     
     if (mFlags & UPDATE_ON_DEMAND) {
-        mNativeWindow->setUpdateRectangle(dirty.bounds());
+        mNativeWindow->setUpdateRectangle(dirty.getBounds());
     }
     
     mPageFlipCount++;