Index: ui/base/dragdrop/gtk_dnd_util.cc |
diff --git a/ui/base/dragdrop/gtk_dnd_util.cc b/ui/base/dragdrop/gtk_dnd_util.cc |
index d70aac8156d40c666aa3d1a4e9e3e9335f22b32e..71d6923fb6b4e0b0b93fbabd3a9f52e64ec52eff 100644 |
--- a/ui/base/dragdrop/gtk_dnd_util.cc |
+++ b/ui/base/dragdrop/gtk_dnd_util.cc |
@@ -216,7 +216,7 @@ bool ExtractNamedURL(GtkSelectionData* selection_data, |
reinterpret_cast<const char*>( |
gtk_selection_data_get_data(selection_data)), |
gtk_selection_data_get_length(selection_data)); |
- void* iter = NULL; |
+ PickleIterator iter(data); |
std::string title_utf8, url_utf8; |
if (!data.ReadString(&iter, &title_utf8) || |
!data.ReadString(&iter, &url_utf8)) { |