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

Side by Side Diff: Source/core/html/track/TextTrackCue.h

Issue 104243003: Merge bools into bit fields in TextTrackCue and VTTCue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/html/track/vtt/VTTCue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual void cueDidChange(); 117 virtual void cueDidChange();
118 118
119 private: 119 private:
120 String m_id; 120 String m_id;
121 double m_startTime; 121 double m_startTime;
122 double m_endTime; 122 double m_endTime;
123 int m_cueIndex; 123 int m_cueIndex;
124 124
125 TextTrack* m_track; 125 TextTrack* m_track;
126 126
127 bool m_isActive; 127 bool m_isActive : 1;
128 bool m_pauseOnExit; 128 bool m_pauseOnExit : 1;
129 }; 129 };
130 130
131 } // namespace WebCore 131 } // namespace WebCore
132 132
133 #endif 133 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/track/vtt/VTTCue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698