| Index: Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| ===================================================================
|
| --- Source/WebKit/chromium/src/WebFrameImpl.cpp (revision 132831)
|
| +++ Source/WebKit/chromium/src/WebFrameImpl.cpp (working copy)
|
| @@ -2576,7 +2576,7 @@
|
| {
|
| // Don't scope if we can't find a frame or a view.
|
| // The user may have closed the tab/application, so abort.
|
| - if (!frame() || !frame()->view())
|
| + if (!frame() || !frame()->view() || !hasVisibleContent())
|
| return false;
|
|
|
| ASSERT(frame()->document() && frame()->view());
|
|
|