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

Unified Diff: Source/core/rendering/RenderFrame.cpp

Issue 136793014: Remove m_margins member from FrameView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/rendering/RenderFrame.h ('k') | Source/core/rendering/RenderPart.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderFrame.cpp
diff --git a/Source/core/rendering/RenderFrame.cpp b/Source/core/rendering/RenderFrame.cpp
index 329ae3422b43204c555321017a44d2e8854f2c10..3468cc3af7c826f5c39a95d24c33fd02f9c822ea 100644
--- a/Source/core/rendering/RenderFrame.cpp
+++ b/Source/core/rendering/RenderFrame.cpp
@@ -47,21 +47,4 @@ void RenderFrame::updateFromElement()
toRenderFrameSet(parent())->notifyFrameEdgeInfoChanged();
}
-void RenderFrame::viewCleared()
-{
- HTMLFrameElement* element = toHTMLFrameElement(node());
- if (!element || !widget() || !widget()->isFrameView())
- return;
-
- FrameView* view = toFrameView(widget());
-
- int marginWidth = element->marginWidth();
- int marginHeight = element->marginHeight();
-
- if (marginWidth != -1)
- view->setMarginWidth(marginWidth);
- if (marginHeight != -1)
- view->setMarginHeight(marginHeight);
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/rendering/RenderFrame.h ('k') | Source/core/rendering/RenderPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698