| Index: sky/engine/core/frame/LocalFrame.cpp
|
| diff --git a/sky/engine/core/frame/LocalFrame.cpp b/sky/engine/core/frame/LocalFrame.cpp
|
| index 5c3b0c09ff17b43cd01e09dfe345047a8d8bb389..1fd9d5de842ac241aceecb3c299b162fd037749b 100644
|
| --- a/sky/engine/core/frame/LocalFrame.cpp
|
| +++ b/sky/engine/core/frame/LocalFrame.cpp
|
| @@ -312,23 +312,6 @@ void LocalFrame::removeSpellingMarkersUnderWords(const Vector<String>& words)
|
| spellChecker().removeSpellingMarkersUnderWords(words);
|
| }
|
|
|
| -struct ScopedFramePaintingState {
|
| - ScopedFramePaintingState(LocalFrame* frame)
|
| - : frame(frame)
|
| - , paintBehavior(frame->view()->paintBehavior())
|
| - {
|
| - }
|
| -
|
| - ~ScopedFramePaintingState()
|
| - {
|
| - frame->view()->setPaintBehavior(paintBehavior);
|
| - frame->view()->setNodeToDraw(0);
|
| - }
|
| -
|
| - LocalFrame* frame;
|
| - PaintBehavior paintBehavior;
|
| -};
|
| -
|
| double LocalFrame::devicePixelRatio() const
|
| {
|
| if (!m_host)
|
|
|