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

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

Issue 1271313006: Remove an outdated timeupdate hack android uses to start video painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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/renderer/media/android/webmediaplayer_android.cc
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index e04d8f436f37a02e8306469be59bc6b656fbbfd5..df74bb763ae65b34ac229968fcae509988e10d90 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -913,11 +913,6 @@ void WebMediaPlayerAndroid::OnVideoSizeChanged(int width, int height) {
media::VIDEO_ROTATION_0)));
client_->setWebLayer(video_weblayer_.get());
}
-
- // TODO(qinmin): This is a hack. We need the media element to stop showing the
- // poster image by forcing it to call setDisplayMode(video). Should move the
- // logic into HTMLMediaElement.cpp.
- client_->timeChanged();
}
void WebMediaPlayerAndroid::OnTimeUpdate(base::TimeDelta current_timestamp,
« 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