-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=115882 Reviewed by Beth Dakin. Remove m_encodedHost and just call encodeHost from databaseIdentifier(). Also, use a StringBuilder when constructing the database identifier to avoid allocating temporary String objects over and over. * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::SecurityOrigin): (WebCore): (WebCore::SecurityOrigin::createFromDatabaseIdentifier): (WebCore::SecurityOrigin::databaseIdentifier): * page/SecurityOrigin.h: (SecurityOrigin): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f89a5520