| Index: Source/WebCore/platform/graphics/MediaPlayer.h
|
| diff --git a/Source/WebCore/platform/graphics/MediaPlayer.h b/Source/WebCore/platform/graphics/MediaPlayer.h
|
| index a5561909edea0c9a3efa9122dda334449d0fadab..790949c70498577216e7a31c69ffcd4c849393ef 100644
|
| --- a/Source/WebCore/platform/graphics/MediaPlayer.h
|
| +++ b/Source/WebCore/platform/graphics/MediaPlayer.h
|
| @@ -280,29 +280,29 @@ public:
|
| bool paused() const;
|
| bool seeking() const;
|
|
|
| - static float invalidTime() { return -1.0f;}
|
| - float duration() const;
|
| - float currentTime() const;
|
| - void seek(float time);
|
| + static double invalidTime() { return -1.0;}
|
| + double duration() const;
|
| + double currentTime() const;
|
| + void seek(double time);
|
|
|
| - float startTime() const;
|
| + double startTime() const;
|
|
|
| double initialTime() const;
|
|
|
| - float rate() const;
|
| - void setRate(float);
|
| + double rate() const;
|
| + void setRate(double);
|
|
|
| bool preservesPitch() const;
|
| void setPreservesPitch(bool);
|
|
|
| PassRefPtr<TimeRanges> buffered();
|
| PassRefPtr<TimeRanges> seekable();
|
| - float maxTimeSeekable();
|
| + double maxTimeSeekable();
|
|
|
| bool didLoadingProgress();
|
|
|
| - float volume() const;
|
| - void setVolume(float);
|
| + double volume() const;
|
| + void setVolume(double);
|
|
|
| bool muted() const;
|
| void setMuted(bool);
|
| @@ -346,7 +346,7 @@ public:
|
|
|
| void networkStateChanged();
|
| void readyStateChanged();
|
| - void volumeChanged(float);
|
| + void volumeChanged(double);
|
| void muteChanged(bool);
|
| void timeChanged();
|
| void sizeChanged();
|
| @@ -390,7 +390,7 @@ public:
|
|
|
| bool didPassCORSAccessCheck() const;
|
|
|
| - float mediaTimeForTimeValue(float) const;
|
| + double mediaTimeForTimeValue(double) const;
|
|
|
| double maximumDurationToCacheMediaTime() const;
|
|
|
| @@ -461,8 +461,8 @@ private:
|
| IntSize m_size;
|
| Preload m_preload;
|
| bool m_visible;
|
| - float m_rate;
|
| - float m_volume;
|
| + double m_rate;
|
| + double m_volume;
|
| bool m_muted;
|
| bool m_preservesPitch;
|
| bool m_privateBrowsing;
|
|
|