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

Unified Diff: Source/core/html/track/vtt/VTTCue.h

Issue 859763004: VTTCue: Convert uses of std::pair<float, float> to FloatPoint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months 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 | « no previous file | 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 4d61aa61fff9afcd20a14b97c333537b8e6258f8..102e2f01d14b7b9b9306f88f15b5586e9a2b2a6e 100644
--- a/Source/core/html/track/vtt/VTTCue.h
+++ b/Source/core/html/track/vtt/VTTCue.h
@@ -109,7 +109,7 @@ public:
int calculateComputedLinePosition();
- std::pair<double, double> getCSSPosition() const;
+ FloatPoint getCSSPosition() const;
CSSValueID getCSSAlignment() const;
int getCSSSize() const;
@@ -155,7 +155,7 @@ private:
void createVTTNodeTree();
void copyVTTNodeToDOMTree(ContainerNode* vttNode, ContainerNode* root);
- std::pair<double, double> getPositionCoordinates() const;
+ FloatPoint getPositionCoordinates() const;
void calculateDisplayParameters();
@@ -185,7 +185,7 @@ private:
CSSValueID m_displayDirection;
int m_displaySize;
- std::pair<float, float> m_displayPosition;
+ FloatPoint m_displayPosition;
bool m_snapToLines : 1;
bool m_displayTreeShouldChange : 1;
« no previous file with comments | « no previous file | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698