Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp |
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
index e2df524c5b30e79aab837bc13b00b5901bc64831..be793c5d5676d71ebe50825db5cdd3d996897d09 100644 |
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
@@ -240,26 +240,6 @@ double VisualViewport::scrollTop() |
return adjustScrollForAbsoluteZoom(visibleRect().y(), mainFrame()->pageZoomFactor()); |
} |
-void VisualViewport::setScrollLeft(double x) |
-{ |
- if (!mainFrame()) |
- return; |
- |
- updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
- setLocation(FloatPoint(x * mainFrame()->pageZoomFactor(), location().y())); |
-} |
- |
-void VisualViewport::setScrollTop(double y) |
-{ |
- if (!mainFrame()) |
- return; |
- |
- updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
- setLocation(FloatPoint(location().x(), y * mainFrame()->pageZoomFactor())); |
-} |
- |
double VisualViewport::clientWidth() |
{ |
if (!mainFrame()) |