Chromium Code Reviews| Index: Source/core/frame/LocalFrame.cpp |
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
| index 366b8f016ab3270992d0c20a59aa0c703e6113e9..74df31e465828c0dd9db1ddd94fd7fe23acf28b1 100644 |
| --- a/Source/core/frame/LocalFrame.cpp |
| +++ b/Source/core/frame/LocalFrame.cpp |
| @@ -367,7 +367,7 @@ void LocalFrame::createView(const IntSize& viewportSize, const Color& background |
| ASSERT(this); |
| ASSERT(page()); |
| - bool isMainFrame = this->isMainFrame(); |
| + bool isMainFrame = this->isLocalRoot(); |
|
dcheng
2014/07/10 21:14:54
Should we rename the bool here too?
kenrb
2014/07/11 16:06:17
Done.
|
| if (isMainFrame && view()) |
| view()->setParentVisible(false); |