Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: content/common/gpu/texture_image_transport_surface.cc

Issue 11280257: Aura: Fix poster circle resize on Alex. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/texture_image_transport_surface.cc
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc
index b11f8c0bb53ed03fddd9d35bf6b08180a13ae07b..64848fed3982b98c3e88bd4f582309a0770c06e2 100644
--- a/content/common/gpu/texture_image_transport_surface.cc
+++ b/content/common/gpu/texture_image_transport_surface.cc
@@ -429,7 +429,7 @@ void TextureImageTransportSurface::BufferPresentedImpl(bool presented) {
// finished with it's context when it inserts the sync point that
// triggers this callback.
if (helper_->MakeCurrent()) {
- if (textures_[front()].size != textures_[back()].size ||
+ if ((presented && textures_[front()].size != textures_[back()].size) ||
!textures_[back()].info->service_id() ||
!textures_[back()].sent_to_client) {
// We may get an ACK from a stale swap just to reschedule. In that case,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698