mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1222169 - remove unused function from PluginProcessChild.cpp; r=aklotz
clang-cl says this function is unused. grepping around confirms that.
This commit is contained in:
parent
afd41f1512
commit
daa9e75351
@ -35,16 +35,6 @@ using mozilla::ipc::IOThreadChild;
|
||||
#ifdef OS_WIN
|
||||
#include "nsSetDllDirectory.h"
|
||||
#include <algorithm>
|
||||
|
||||
namespace {
|
||||
|
||||
std::size_t caseInsensitiveFind(std::string aHaystack, std::string aNeedle) {
|
||||
std::transform(aHaystack.begin(), aHaystack.end(), aHaystack.begin(), ::tolower);
|
||||
std::transform(aNeedle.begin(), aNeedle.end(), aNeedle.begin(), ::tolower);
|
||||
return aHaystack.find(aNeedle);
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
|
Loading…
Reference in New Issue
Block a user