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 |