| Index: cc/ThrottledTextureUploader.h
|
| diff --git a/cc/ThrottledTextureUploader.h b/cc/ThrottledTextureUploader.h
|
| index f51740158d124129061bdd09542ad133a11a0ae0..1b43bb7f3d8998b7da3b626dd92097de1c729095 100644
|
| --- a/cc/ThrottledTextureUploader.h
|
| +++ b/cc/ThrottledTextureUploader.h
|
| @@ -8,7 +8,7 @@
|
| #include "TextureUploader.h"
|
|
|
| #include "base/basictypes.h"
|
| -#include <deque>
|
| +#include <set>
|
| #include <wtf/Deque.h>
|
|
|
| namespace WebKit {
|
| @@ -65,7 +65,8 @@ private:
|
| WebKit::WebGraphicsContext3D* m_context;
|
| Deque<OwnPtr<Query> > m_pendingQueries;
|
| Deque<OwnPtr<Query> > m_availableQueries;
|
| - std::deque<double> m_texturesPerSecondHistory;
|
| + std::multiset<double> m_texturesPerSecondHistory;
|
| + int m_historyRemovalCount;
|
| size_t m_numBlockingTextureUploads;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ThrottledTextureUploader);
|
|
|