Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(933)

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 1319863006: (blink) Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments from Alex Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698