Skip to content

Instantly share code, notes, and snippets.

@kkristof
Created May 24, 2012 07:58
Show Gist options
  • Save kkristof/2780106 to your computer and use it in GitHub Desktop.
Save kkristof/2780106 to your computer and use it in GitHub Desktop.
buildfix
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index d5928eb..5947895 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2012-05-24 Kristóf Kosztyó <kkristof@inf.u-szeged.hu>
+
+ [Qt] Buildfix for the minimal build because the r118197 broke it.
+ https://bugs.webkit.org/show_bug.cgi?id=87096
+
+ Reviewed by NOBODY (OOPS!).
+
+ * plugins/PluginData.cpp:
+ (WebCore):
+ (WebCore::PluginData::refresh):
+ (WebCore::PluginData::initPlugins):
+
2012-05-23 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed: Web Inspector single line fix for r118162.
diff --git a/Source/WebCore/plugins/PluginData.cpp b/Source/WebCore/plugins/PluginData.cpp
index 555e2c2..bd4da9e 100644
--- a/Source/WebCore/plugins/PluginData.cpp
+++ b/Source/WebCore/plugins/PluginData.cpp
@@ -64,17 +64,21 @@ String PluginData::pluginNameForMimeType(const String& mimeType) const
return String();
}
-#if USE(PLATFORM_STRATEGIES) && ENABLE(NETSCAPE_PLUGIN_API)
+#if USE(PLATFORM_STRATEGIES)
void PluginData::refresh()
{
+#if ENABLE(NETSCAPE_PLUGIN_API)
platformStrategies()->pluginStrategy()->refreshPlugins();
+#endif
}
void PluginData::initPlugins(const Page* page)
{
+#if ENABLE(NETSCAPE_PLUGIN_API)
ASSERT(m_plugins.isEmpty());
platformStrategies()->pluginStrategy()->getPluginInfo(page, m_plugins);
+#endif
}
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment