Index: third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp |
index 1cd367307d48420886c2750c1c294e6e84a0c8f9..96661d27ac7d55b7cce63d1ed6597ebac7fa2bad 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp |
@@ -16,11 +16,11 @@ |
namespace blink { |
-void PaintInvalidationCapableScrollableArea::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation) |
+void PaintInvalidationCapableScrollableArea::willRemoveScrollbar(Scrollbar& scrollbar, ScrollbarOrientation orientation) |
{ |
- if (!scrollbar->isCustomScrollbar() |
+ if (!scrollbar.isCustomScrollbar() |
&& !(orientation == HorizontalScrollbar ? layerForHorizontalScrollbar() : layerForVerticalScrollbar())) |
- boxForScrollControlPaintInvalidation().invalidateDisplayItemClient(*scrollbar); |
+ boxForScrollControlPaintInvalidation().invalidateDisplayItemClient(scrollbar); |
ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
} |