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

Unified Diff: media/tools/player_wtl/view.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/view.h
diff --git a/media/tools/player_wtl/view.h b/media/tools/player_wtl/view.h
index dd1aaafed4ac29fe2d1b7c1a15a54623aef234ee..cbb0a484bb34e22ee865f6bc77fce6f0171ef6b2 100644
--- a/media/tools/player_wtl/view.h
+++ b/media/tools/player_wtl/view.h
@@ -182,7 +182,8 @@ class WtlVideoWindow : public CScrollWindowImpl<WtlVideoWindow> {
}
// Append each frame to end of file.
- bool enable_dump_yuv_file = media::Movie::get()->GetDumpYuvFileEnable();
+ bool enable_dump_yuv_file =
+ media::Movie::GetInstance()->GetDumpYuvFileEnable();
if (enable_dump_yuv_file) {
DumpYUV(video_frame);
}
@@ -191,7 +192,7 @@ class WtlVideoWindow : public CScrollWindowImpl<WtlVideoWindow> {
double yuv_time_start = GetTime(); // Start timer.
#endif
- bool enable_draw = media::Movie::get()->GetDrawEnable();
+ bool enable_draw = media::Movie::GetInstance()->GetDrawEnable();
if (enable_draw) {
DCHECK(bm.bmBitsPixel == 32);
DrawYUV(video_frame,

Powered by Google App Engine
This is Rietveld 408576698