Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 8951fe2f267717a56e37cff755ff3f4a80e0f8ab..69aa2a6017edd702d72bfa65f91cf470253be4e1 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -185,8 +185,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() |