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

Unified Diff: Source/core/html/track/vtt/VTTCue.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTCue.h
diff --git a/Source/core/html/track/vtt/VTTCue.h b/Source/core/html/track/vtt/VTTCue.h
index c44a07488a0d03e85d3d65793c773cce0d9ec6d6..b0e02613708fba38a8b30e758a9fdc4fe6b10de5 100644
--- a/Source/core/html/track/vtt/VTTCue.h
+++ b/Source/core/html/track/vtt/VTTCue.h
@@ -172,24 +172,20 @@ private:
int m_textPosition;
int m_cueSize;
WritingDirection m_writingDirection;
-
CueAlignment m_cueAlignment;
+ String m_regionId;
RefPtr<DocumentFragment> m_vttNodeTree;
- bool m_snapToLines;
-
RefPtr<HTMLDivElement> m_cueBackgroundBox;
-
- bool m_displayTreeShouldChange;
RefPtr<VTTCueBox> m_displayTree;
CSSValueID m_displayDirection;
-
int m_displaySize;
-
std::pair<float, float> m_displayPosition;
- String m_regionId;
- bool m_notifyRegion;
+
+ bool m_snapToLines : 1;
+ bool m_displayTreeShouldChange : 1;
+ bool m_notifyRegion : 1;
};
inline VTTCue* toVTTCue(TextTrackCue* cue)
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698