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

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

Issue 1307013004: Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: content_unittests compile fix Created 5 years, 1 month 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: 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 323d50475cdcb4b872ed4d2ae4631dc1af0587da..59127cc95416fa8ff644d99c71e7d0e6bd5eb577 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()
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698