| Index: Source/WebCore/platform/graphics/MediaPlayer.h
|
| diff --git a/Source/WebCore/platform/graphics/MediaPlayer.h b/Source/WebCore/platform/graphics/MediaPlayer.h
|
| index 86ea40278c2456dfd391d544dfdc128545e73ef7..5d65e9895a28f0a94e112303917a26e58fe602bd 100644
|
| --- a/Source/WebCore/platform/graphics/MediaPlayer.h
|
| +++ b/Source/WebCore/platform/graphics/MediaPlayer.h
|
| @@ -298,29 +298,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);
|
| @@ -364,7 +364,7 @@ public:
|
|
|
| void networkStateChanged();
|
| void readyStateChanged();
|
| - void volumeChanged(float);
|
| + void volumeChanged(double);
|
| void muteChanged(bool);
|
| void timeChanged();
|
| void sizeChanged();
|
| @@ -414,7 +414,7 @@ public:
|
|
|
| bool didPassCORSAccessCheck() const;
|
|
|
| - float mediaTimeForTimeValue(float) const;
|
| + double mediaTimeForTimeValue(double) const;
|
|
|
| double maximumDurationToCacheMediaTime() const;
|
|
|
| @@ -485,8 +485,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;
|
|
|