Fix assertions in debug builds for the GTK+ port.
Rubber-stamped by Carlos Garcia Campos.
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
Switch back to the find() + add() combo for retrieving the pointer
to the SharedGLData object stored for the specific GraphicsContext3D.
add() + isNewEntry is causing assertions in debug builds when adding
the first entry.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@200456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed