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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 448063003: media: Fix not-thread-safe access to variables in android media code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
Index: content/renderer/media/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index 1b90148d93adf047724be3a86d9159e1e51ef421..2c324fe2cb778e3f0a4e1019879532eaa2a63d1c 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -306,9 +306,6 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
// Size of the video.
blink::WebSize natural_size_;
- // Size that has been sent to StreamTexture.
- blink::WebSize cached_stream_texture_size_;
-
// The video frame object used for rendering by the compositor.
scoped_refptr<media::VideoFrame> current_frame_;
base::Lock current_frame_lock_;

Powered by Google App Engine
This is Rietveld 408576698