Chromium Code Reviews| Index: Source/web/InspectorOverlayImpl.cpp |
| diff --git a/Source/web/InspectorOverlayImpl.cpp b/Source/web/InspectorOverlayImpl.cpp |
| index 856dc26a7cfca1288a6509b9f0823969e939516c..7cb12a7d9bdd7f8e982e199c5e06b3c913a8602f 100644 |
| --- a/Source/web/InspectorOverlayImpl.cpp |
| +++ b/Source/web/InspectorOverlayImpl.cpp |
| @@ -132,7 +132,10 @@ public: |
| void setCursor(const Cursor& cursor) override |
| { |
| - m_client->setCursor(cursor); |
| + if (cursor.type() != Cursor::Pointer) |
|
pfeldman
2015/08/26 21:08:42
Why is this check here?
|
| + toChromeClientImpl(m_client)->setCursorOverride(adoptPtr(new Cursor(cursor))); |
| + else |
| + toChromeClientImpl(m_client)->setCursorOverride(nullptr); |
| } |
| void setToolTip(const String& tooltip, TextDirection direction) override |