Index: content/browser/android/composited_touch_handle_drawable.cc |
diff --git a/content/browser/android/composited_touch_handle_drawable.cc b/content/browser/android/composited_touch_handle_drawable.cc |
index 91a019eba89157780bd68ed5d82c979b050d0c88..502189651e72e6e35f7b3f35b91ff506f4b2f02f 100644 |
--- a/content/browser/android/composited_touch_handle_drawable.cc |
+++ b/content/browser/android/composited_touch_handle_drawable.cc |
@@ -8,6 +8,7 @@ |
#include "base/logging.h" |
#include "base/trace_event/trace_event.h" |
#include "cc/layers/ui_resource_layer.h" |
+#include "content/public/browser/android/compositor.h" |
#include "jni/HandleViewResources_jni.h" |
#include "ui/gfx/android/java_bitmap.h" |
@@ -84,7 +85,7 @@ CompositedTouchHandleDrawable::CompositedTouchHandleDrawable( |
jobject context) |
: dpi_scale_(dpi_scale), |
orientation_(ui::TouchHandleOrientation::UNDEFINED), |
- layer_(cc::UIResourceLayer::Create()) { |
+ layer_(cc::UIResourceLayer::Create(Compositor::LayerSettings())) { |
g_selection_resources.Get().LoadIfNecessary(context); |
DCHECK(root_layer); |
root_layer->AddChild(layer_.get()); |