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 def62f7a800d391e54a03564c9502d9862894565..47c482f1a39e666957a8ac15a7f628fdcbf2a809 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() |