auto import from //branches/cupcake/...@125939
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp
index 8ba0851..f65d669 100644
--- a/libs/surfaceflinger/Layer.cpp
+++ b/libs/surfaceflinger/Layer.cpp
@@ -316,7 +316,7 @@
if (err == NO_ERROR) {
const uint32_t mask = clientBackBufferIndex ? eResizeBuffer1 : eResizeBuffer0;
android_atomic_and(~mask, &(lcblk->swapState));
- // since a buffer became availlable, we can let the client go...
+ // since a buffer became available, we can let the client go...
mFlinger->scheduleBroadcast(client);
mResizeTransactionDone = true;
@@ -511,7 +511,7 @@
}
mResizeTransactionDone = false;
recomputeVisibleRegions = true;
- invalidate = true;
+ this->contentDirty = true;
}
}