Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index 6d523d68ec52f8914e3623ec134728aa35a2f387..0988739565d898fd40772f55cbf5b3cc5e81a0d5 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -188,8 +188,8 @@ void LocalFrame::createView(const IntSize& viewportSize, const Color& background |
owner->setWidget(frameView); |
} |
- if (HTMLFrameOwnerElement* owner = deprecatedLocalOwner()) |
- view()->setCanHaveScrollbars(owner->scrollingMode() != ScrollbarAlwaysOff); |
+ if (owner()) |
+ view()->setCanHaveScrollbars(owner()->scrollingMode() != ScrollbarAlwaysOff); |
} |
LocalFrame::~LocalFrame() |