| Index: Source/core/page/FrameView.cpp
|
| diff --git a/Source/core/page/FrameView.cpp b/Source/core/page/FrameView.cpp
|
| index afd5bbc78a08ce0c0a7f8d405027716ff927f17f..d48329928539696c80b5420417bcca36e5195660 100644
|
| --- a/Source/core/page/FrameView.cpp
|
| +++ b/Source/core/page/FrameView.cpp
|
| @@ -445,6 +445,21 @@ bool FrameView::scheduleAnimation()
|
| return false;
|
| }
|
|
|
| +RenderView* FrameView::renderView() const
|
| +{
|
| + return frame().contentRenderer();
|
| +}
|
| +
|
| +int FrameView::mapFromLayoutToCSSUnits(LayoutUnit value) const
|
| +{
|
| + return value / frame().pageZoomFactor();
|
| +}
|
| +
|
| +LayoutUnit FrameView::mapFromCSSToLayoutUnits(int value) const
|
| +{
|
| + return value * frame().pageZoomFactor();
|
| +}
|
| +
|
| void FrameView::setMarginWidth(LayoutUnit w)
|
| {
|
| // make it update the rendering area when set
|
|
|