| Index: components/exo/pointer.cc
|
| diff --git a/components/exo/pointer.cc b/components/exo/pointer.cc
|
| index 5c22d537ed2c3e959a75370007894ee58d632b45..64d2ae41e57f7971cfb125de6e15f7a65e93dd75 100644
|
| --- a/components/exo/pointer.cc
|
| +++ b/components/exo/pointer.cc
|
| @@ -72,6 +72,9 @@ void Pointer::SetCursor(Surface* surface, const gfx::Point& hotspot) {
|
| if (!focus_)
|
| return;
|
|
|
| + if (!widget_)
|
| + CreatePointerWidget();
|
| +
|
| // If surface is different than the current pointer surface then remove the
|
| // current surface and add the new surface.
|
| if (surface != surface_) {
|
|
|