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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2939163003: Removing unused HasHorizontal/VerticalScrollbar methods from WebFrame. (Closed)
Patch Set: Just removing the methods altogether also seems to works... Created 3 years, 6 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 | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index db4a4fd6ed7791f2a4c6e696533ccb87f0e9f633..cfb0aa80cb34c94909635b1206a7144c962e28c4 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -614,16 +614,6 @@ WebRect WebLocalFrameImpl::VisibleContentRect() const {
return WebRect();
}
-bool WebLocalFrameImpl::HasHorizontalScrollbar() const {
- return GetFrame() && GetFrame()->View() &&
- GetFrame()->View()->HorizontalScrollbar();
-}
-
-bool WebLocalFrameImpl::HasVerticalScrollbar() const {
- return GetFrame() && GetFrame()->View() &&
- GetFrame()->View()->VerticalScrollbar();
-}
-
WebView* WebLocalFrameImpl::View() const {
return ViewImpl();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698