Commit 53a0d81c authored by timothy@apple.com's avatar timothy@apple.com

Revert an unintentional logic change in r42400.

git-svn-id: svn://svn.chromium.org/blink/trunk@42404 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 8ad66e63
...@@ -70,7 +70,8 @@ void ScriptCachedFrameData::restore(Frame* frame) ...@@ -70,7 +70,8 @@ void ScriptCachedFrameData::restore(Frame* frame)
JSLock lock(false); JSLock lock(false);
ScriptController* scriptController = frame->script(); ScriptController* scriptController = frame->script();
if (JSDOMWindowShell* windowShell = scriptController->windowShell()) { if (scriptController->haveWindowShell()) {
JSDOMWindowShell* windowShell = scriptController->windowShell();
if (m_window) { if (m_window) {
windowShell->setWindow(m_window.get()); windowShell->setWindow(m_window.get());
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment