summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2009-08-17 17:24:43 +0100
committerBen Murdoch <benm@google.com>2009-08-17 17:33:03 +0100
commit02a23642eaae7e2fdd441eddffd2c085fbee3b49 (patch)
treeec22d3c393b105bb57c7539eece543573fa2077a /WebCore
parentbca28f9e9aaf8973e90dc96478b4c424af20d19c (diff)
downloadexternal_webkit-02a23642eaae7e2fdd441eddffd2c085fbee3b49.zip
external_webkit-02a23642eaae7e2fdd441eddffd2c085fbee3b49.tar.gz
external_webkit-02a23642eaae7e2fdd441eddffd2c085fbee3b49.tar.bz2
Fix first set of linker errors.
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/android/TemporaryLinkStubs.cpp10
-rw-r--r--WebCore/plugins/PluginView.cpp4
-rw-r--r--WebCore/plugins/android/PluginViewAndroid.cpp49
3 files changed, 2 insertions, 61 deletions
diff --git a/WebCore/platform/android/TemporaryLinkStubs.cpp b/WebCore/platform/android/TemporaryLinkStubs.cpp
index b68a74c..f9ab682 100644
--- a/WebCore/platform/android/TemporaryLinkStubs.cpp
+++ b/WebCore/platform/android/TemporaryLinkStubs.cpp
@@ -424,11 +424,6 @@ Vector<String> supportedKeySizes()
return Vector<String>();
}
-String signedPublicKeyAndChallengeString(unsigned int, String const&, WebCore::KURL const&)
-{
- return String();
-}
-
} // namespace WebCore
namespace WebCore {
@@ -483,11 +478,6 @@ void prefetchDNS(const String&)
notImplemented();
}
-void getSupportedKeySizes(Vector<String>&)
-{
- notImplemented();
-}
-
PassRefPtr<Icon> Icon::createIconForFile(const String&)
{
notImplemented();
diff --git a/WebCore/plugins/PluginView.cpp b/WebCore/plugins/PluginView.cpp
index 8440239..c6b0cae 100644
--- a/WebCore/plugins/PluginView.cpp
+++ b/WebCore/plugins/PluginView.cpp
@@ -1217,12 +1217,12 @@ static const char* MozillaUserAgent = "Mozilla/5.0 ("
const char* PluginView::userAgent()
{
+#if !PLATFORM(ANDROID)
if (m_plugin->quirks().contains(PluginQuirkWantsMozillaUserAgent))
return MozillaUserAgent;
-
+#endif
if (m_userAgent.isNull())
m_userAgent = m_parentFrame->loader()->userAgent(m_url).utf8();
-
return m_userAgent.data();
}
diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp
index 022fa35..bb0212b 100644
--- a/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -398,55 +398,6 @@ void PluginView::setNPWindowRect(const IntRect& rect)
m_window->setWindow(&m_npWindow, m_isTransparent);
}
-void PluginView::stop()
-{
- if (!m_isStarted)
- return;
-
- HashSet<RefPtr<PluginStream> > streams = m_streams;
- HashSet<RefPtr<PluginStream> >::iterator end = streams.end();
- for (HashSet<RefPtr<PluginStream> >::iterator it = streams.begin(); it != end; ++it) {
- (*it)->stop();
- disconnectStream((*it).get());
- }
-
- ASSERT(m_streams.isEmpty());
-
- m_isStarted = false;
-#if USE(JSC)
- JSC::JSLock::DropAllLocks dropAllLocks(false);
-#endif
-
- PluginMainThreadScheduler::scheduler().unregisterPlugin(m_instance);
-
- // Destroy the plugin
- NPSavedData* savedData = 0;
- setCallingPlugin(true);
- NPError npErr = m_plugin->pluginFuncs()->destroy(m_instance, &savedData);
- setCallingPlugin(false);
- LOG_NPERROR(npErr);
-
- if (savedData) {
- if (savedData->buf)
- NPN_MemFree(savedData->buf);
- NPN_MemFree(savedData);
- }
-
- m_instance->pdata = 0;
-}
-
-const char* PluginView::userAgentStatic()
-{
- return 0;
-}
-
-const char* PluginView::userAgent()
-{
- if (m_userAgent.isNull())
- m_userAgent = m_parentFrame->loader()->userAgent(m_url).utf8();
- return m_userAgent.data();
-}
-
NPError PluginView::getValue(NPNVariable variable, void* value)
{
switch (variable) {