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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.h

Issue 2728253002: Remove indirection: setup scrollbar scroll layers in the scrollbar constructor (Closed)
Patch Set: Ensure detachScrollbarLayer is called in scrollableAreaScrollbarLayerDidChange Created 3 years, 10 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
Index: third_party/WebKit/Source/core/frame/VisualViewport.h
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.h b/third_party/WebKit/Source/core/frame/VisualViewport.h
index 0e8ee557dc123b072cea582aa0b6ed2e096a963e..4f8395982c677bfd72afb815344bb2dafe835867 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.h
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.h
@@ -44,7 +44,6 @@
namespace blink {
class WebScrollbarLayer;
-class WebLayer;
}
namespace blink {
@@ -120,8 +119,6 @@ class CORE_EXPORT VisualViewport final
// if page scale factor is left unchanged.
bool magnifyScaleAroundAnchor(float magnifyDelta, const FloatPoint& anchor);
- void setScrollLayerOnScrollbars(WebLayer*) const;
-
// The portion of the unzoomed frame visible in the visual viewport,
// in partial CSS pixels. Relative to the main frame.
FloatRect visibleRect() const;

Powered by Google App Engine
This is Rietveld 408576698