| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index 217a32e7d488d0f6c70c7219adfd58456a803c81..82d28f18688224236322585d8dfcc96e8ceed05c 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -45,6 +45,9 @@
|
| #include "platform/text/Hyphenation.h"
|
| #include "platform/text/TextBreakIterator.h"
|
| #include "platform/text/TextRunIterator.h"
|
| +#include "public/platform/Platform.h"
|
| +#include "public/platform/WebScheduler.h"
|
| +#include "public/platform/WebThread.h"
|
| #include "wtf/text/StringBuffer.h"
|
| #include "wtf/text/StringBuilder.h"
|
|
|
| @@ -69,7 +72,8 @@ static SecureTextTimerMap* gSecureTextTimers = nullptr;
|
| class SecureTextTimer final : public TimerBase {
|
| public:
|
| SecureTextTimer(LayoutText* layoutText)
|
| - : m_layoutText(layoutText)
|
| + : TimerBase(Platform::current()->currentThread()->scheduler()->timerTaskRunner())
|
| + , m_layoutText(layoutText)
|
| , m_lastTypedCharacterOffset(-1)
|
| {
|
| }
|
|
|