Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 270d2cb19971b177b6477bdc496cae9560227eb9..45f2ec49a46099a3c5894c184f857d2ede3a1ff2 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -13,11 +13,11 @@ |
#include "cc/animation/animation_events.h" |
#include "cc/animation/layer_animation_controller.h" |
#include "cc/layers/layer_impl.h" |
+#include "cc/layers/layer_scroll_client.h" |
#include "cc/output/copy_output_request.h" |
#include "cc/output/copy_output_result.h" |
#include "cc/trees/layer_tree_host.h" |
#include "cc/trees/layer_tree_impl.h" |
-#include "third_party/WebKit/public/platform/WebLayerScrollClient.h" |
#include "third_party/skia/include/core/SkImageFilter.h" |
#include "ui/gfx/rect_conversions.h" |
@@ -527,7 +527,7 @@ void Layer::SetScrollOffsetFromImplSide(gfx::Vector2d scroll_offset) { |
return; |
scroll_offset_ = scroll_offset; |
if (layer_scroll_client_) |
- layer_scroll_client_->didScroll(); |
+ layer_scroll_client_->DidScroll(); |
// Note: didScroll() could potentially change the layer structure. |
// "this" may have been destroyed during the process. |
} |