summaryrefslogtreecommitdiff
path: root/Source/WebCore/plugins/PluginView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/plugins/PluginView.cpp')
-rw-r--r--Source/WebCore/plugins/PluginView.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/WebCore/plugins/PluginView.cpp b/Source/WebCore/plugins/PluginView.cpp
index bd3f8834d..0466846d4 100644
--- a/Source/WebCore/plugins/PluginView.cpp
+++ b/Source/WebCore/plugins/PluginView.cpp
@@ -548,8 +548,8 @@ static KURL makeURL(const KURL& baseURL, const char* relativeURLString)
String urlString = relativeURLString;
// Strip return characters.
- urlString.replace('\n', "");
- urlString.replace('\r', "");
+ urlString.replaceWithLiteral('\n', "");
+ urlString.replaceWithLiteral('\r', "");
return KURL(baseURL, urlString);
}
@@ -1474,6 +1474,11 @@ NPError PluginView::setValueForURL(NPNURLVariable variable, const char* url, con
NPError PluginView::getAuthenticationInfo(const char* protocol, const char* host, int32_t port, const char* /* scheme */, const char* /* realm */, char** /* username */, uint32_t* /* ulen */, char** /* password */, uint32_t* /* plen */)
{
+#if LOG_DISABLED
+ UNUSED_PARAM(protocol);
+ UNUSED_PARAM(host);
+ UNUSED_PARAM(port);
+#endif
LOG(Plugins, "PluginView::getAuthenticationInfo: protocol=%s, host=%s, port=%d", protocol, host, port);
notImplemented();
return NPERR_GENERIC_ERROR;