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

Unified Diff: media/tools/player_wtl/props.h

Issue 5682008: Make members of Singleton<T> private and only visible to the singleton type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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: media/tools/player_wtl/props.h
diff --git a/media/tools/player_wtl/props.h b/media/tools/player_wtl/props.h
index 65224e5431ac2d3b4fb202a3dec6b163af5997b9..d2b7dbb8951b61607f606409a2ee842777d042dd 100644
--- a/media/tools/player_wtl/props.h
+++ b/media/tools/player_wtl/props.h
@@ -124,7 +124,7 @@ class CPageOne : public CPropertyPageImpl<CPageOne> {
SetDlgItemText(IDC_FILESIZE, szBuff);
// TODO(fbarchard): We need a pipeline property for frame rate.
- float duration = media::Movie::get()->GetDuration();
+ float duration = media::Movie::GetInstance()->GetDuration();
float fps = 29.97f;
wsprintf(szBuff, L"%i.%2i Seconds, %i Frames",
static_cast<int>(duration),

Powered by Google App Engine
This is Rietveld 408576698