Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r187640 - [GTK] Have DataObjectGtk::unknownTypes() return a ref…
…erence to the HashMap object https://bugs.webkit.org/show_bug.cgi?id=147401 Reviewed by Carlos Garcia Campos. Don't copy the DataObjectGtk::m_unknownTypes HashMap on every retrieval through DataObjectGtk::unknownTypes(). The range-based for-loops that iterate over the map in PasteboardGtk.cpp and PasteboardHelper.cpp are also cleaned up. * platform/gtk/DataObjectGtk.cpp: (WebCore::DataObjectGtk::unknownTypes): * platform/gtk/DataObjectGtk.h: * platform/gtk/PasteboardGtk.cpp: (WebCore::Pasteboard::writePasteboard): (WebCore::Pasteboard::types): * platform/gtk/PasteboardHelper.cpp: (WebCore::PasteboardHelper::fillSelectionData):
- Loading branch information
1 parent
214c173
commit 9519baa
Showing
5 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters