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

Unified Diff: media/gpu/avda_codec_image.cc

Issue 2916193002: Reset |most_recent_bounds_| on new Overlay (Closed)
Patch Set: Typo Created 3 years, 7 months 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: media/gpu/avda_codec_image.cc
diff --git a/media/gpu/avda_codec_image.cc b/media/gpu/avda_codec_image.cc
index 6d38a490ef09960724dabaa0c6bde892b84d5c0f..d8688d2b5b90dad615a96404092f64469d41b19c 100644
--- a/media/gpu/avda_codec_image.cc
+++ b/media/gpu/avda_codec_image.cc
@@ -148,6 +148,7 @@ bool AVDACodecImage::SetSharedState(
if (shared_state == shared_state_)
return false;
shared_state_ = shared_state;
+ most_recent_bounds_ = gfx::Rect();
return true;
}
« 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