| Index: webkit/api/src/WebBindings.cpp
|
| ===================================================================
|
| --- webkit/api/src/WebBindings.cpp (revision 30581)
|
| +++ webkit/api/src/WebBindings.cpp (working copy)
|
| @@ -255,13 +255,13 @@
|
| return false;
|
|
|
| // Drag events are mouse events and should have a clipboard.
|
| - MouseEvent* me = reinterpret_cast<MouseEvent*>(event);
|
| + MouseEvent* me = static_cast<MouseEvent*>(event);
|
| Clipboard* clipboard = me->clipboard();
|
| if (!clipboard)
|
| return false;
|
|
|
| // And that clipboard should be accessible by WebKit policy.
|
| - ClipboardChromium* chrome = reinterpret_cast<ClipboardChromium*>(clipboard);
|
| + ClipboardChromium* chrome = static_cast<ClipboardChromium*>(clipboard);
|
| HashSet<String> accessible(chrome->types());
|
| if (accessible.isEmpty())
|
| return false;
|
|
|