Chromium Code Reviews| Index: fpdfsdk/javascript/app.h |
| diff --git a/fpdfsdk/javascript/app.h b/fpdfsdk/javascript/app.h |
| index 911d86586ad5b3dff412ffee59dbeafdfe20630d..8fd78d9dbc23ab62370f806e6dc5ff42c4211047 100644 |
| --- a/fpdfsdk/javascript/app.h |
| +++ b/fpdfsdk/javascript/app.h |
| @@ -7,8 +7,8 @@ |
| #ifndef FPDFSDK_JAVASCRIPT_APP_H_ |
| #define FPDFSDK_JAVASCRIPT_APP_H_ |
| -#include <map> |
| #include <memory> |
| +#include <set> |
|
Lei Zhang
2016/08/19 05:53:12
Can we go with unordered_set?
Tom Sepez
2016/08/19 17:20:52
Done.
|
| #include <vector> |
| #include "fpdfsdk/javascript/JS_Define.h" |
| @@ -166,7 +166,7 @@ class app : public CJS_EmbedObj { |
| bool m_bCalculate; |
| bool m_bRuntimeHighLight; |
| - std::map<GlobalTimer*, std::unique_ptr<GlobalTimer>> m_Timers; |
| + std::set<std::unique_ptr<GlobalTimer>> m_Timers; |
| }; |
| class CJS_App : public CJS_Object { |