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

Unified Diff: Source/WebCore/platform/ClockGeneric.h

Issue 13454026: Update all float attributes in HTMLMediaElement and related objects to double (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed GTK change since the file is gone now. Created 7 years, 8 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
Index: Source/WebCore/platform/ClockGeneric.h
diff --git a/Source/WebCore/platform/ClockGeneric.h b/Source/WebCore/platform/ClockGeneric.h
index d53a1bc2dc4d3c55f8e0d6399cf658b9b26ad602..3dc0e7db53fda3b995fcffe180e1adbe467c4272 100644
--- a/Source/WebCore/platform/ClockGeneric.h
+++ b/Source/WebCore/platform/ClockGeneric.h
@@ -35,11 +35,11 @@ public:
ClockGeneric();
private:
- virtual void setCurrentTime(float);
- virtual float currentTime() const;
+ virtual void setCurrentTime(double);
+ virtual double currentTime() const;
- virtual void setPlayRate(float);
- virtual float playRate() const { return m_rate; }
+ virtual void setPlayRate(double);
+ virtual double playRate() const { return m_rate; }
virtual void start();
virtual void stop();
@@ -48,7 +48,7 @@ private:
double now() const;
bool m_running;
- float m_rate;
+ double m_rate;
double m_offset;
double m_startTime;
mutable double m_lastTime;

Powered by Google App Engine
This is Rietveld 408576698