| Index: Source/core/dom/StyleEngine.cpp
|
| diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp
|
| index ac540ebdadbc4d517b723ac45d3f74ba5a61df43..d8d8aa5837ee3bd8355a4784e2ecb5cb3c525fec 100644
|
| --- a/Source/core/dom/StyleEngine.cpp
|
| +++ b/Source/core/dom/StyleEngine.cpp
|
| @@ -678,7 +678,13 @@ void StyleEngine::fontsNeedUpdate(CSSFontSelector*)
|
|
|
| void StyleEngine::setFontSelector(PassRefPtrWillBeRawPtr<CSSFontSelector> fontSelector)
|
| {
|
| +#if !ENABLE(OILPAN)
|
| + if (m_fontSelector)
|
| + m_fontSelector->unregisterForInvalidationCallbacks(this);
|
| +#endif
|
| m_fontSelector = fontSelector;
|
| + if (m_fontSelector)
|
| + m_fontSelector->registerForInvalidationCallbacks(this);
|
| }
|
|
|
| void StyleEngine::platformColorsChanged()
|
|
|