summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmediaplayer_impl.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 22:09:28 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 22:09:28 +0000
commit128740bbcd5abb0c75254e6eb57b46192c1f47d1 (patch)
tree635b88468f502fdf65828766735de711e86170e2 /webkit/glue/webmediaplayer_impl.cc
parent6973e1cbd7434f30ed00c49a23838a82f90e8a0f (diff)
downloadchromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.zip
chromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.tar.gz
chromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.tar.bz2
Renamed FilterHost::Error() and Pipeline::GetTime() to more appropriate names.
BUG=17107 TEST=none Review URL: http://codereview.chromium.org/155711 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.cc')
-rw-r--r--webkit/glue/webmediaplayer_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webmediaplayer_impl.cc b/webkit/glue/webmediaplayer_impl.cc
index b817239..fad8825 100644
--- a/webkit/glue/webmediaplayer_impl.cc
+++ b/webkit/glue/webmediaplayer_impl.cc
@@ -298,7 +298,7 @@ float WebMediaPlayerImpl::duration() const {
float WebMediaPlayerImpl::currentTime() const {
DCHECK(MessageLoop::current() == main_loop_);
- return static_cast<float>(pipeline_->GetTime().InSecondsF());
+ return static_cast<float>(pipeline_->GetCurrentTime().InSecondsF());
}
int WebMediaPlayerImpl::dataRate() const {