Skip to content

Commit

Permalink
Merge branch 'dev' into phantomjs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitallium committed May 15, 2016
2 parents 588592d + 25b391f commit 38e51b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Source/WebCore/plugins/PluginPackage.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,13 @@ namespace WebCore {
const MIMEToDescriptionsMap& mimeToDescriptions() const { return m_mimeToDescriptions; }
const MIMEToExtensionsMap& mimeToExtensions() const { return m_mimeToExtensions; }

#if !ENABLE(NETSCAPE_PLUGIN_API) && OS(WINDOWS) && PLATFORM(QT)
unsigned int hash() const { return 0; }
static bool equal(const PluginPackage &a, const PluginPackage &b) { return false ;}
#else
unsigned hash() const;
static bool equal(const PluginPackage& a, const PluginPackage& b);
#endif

bool load();
void unload();
Expand Down
4 changes: 2 additions & 2 deletions Source/WebKit/qt/WidgetApi/qwebframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,9 +943,9 @@ void QWebFrame::print(QPrinter *printer, PrintCallback *callback) const
\sa addToJavaScriptWindowObject(), javaScriptWindowObjectCleared(),
QWebElement::evaluateJavaScript()
*/
QVariant QWebFrame::evaluateJavaScript(const QString& scriptSource)
QVariant QWebFrame::evaluateJavaScript(const QString& scriptSource, const QUrl& location)
{
return d->evaluateJavaScript(scriptSource);
return d->evaluateJavaScript(scriptSource, location);
}

/*!
Expand Down
3 changes: 0 additions & 3 deletions Tools/qmake/mkspecs/features/configure.prf
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ defineTest(finalizeConfigure) {
production_build:android {
addReasonForSkippingBuild("Build not supported on Android.")
}
!gnu_thin_archives:!win32-msvc2013:!mingw:contains(QT_CONFIG, static) {
addReasonForSkippingBuild("QtWebKit cannot be built as a static library on this platform. Check your configuration in qtbase/config.summary.")
}
winrt: addReasonForSkippingBuild("QtWebKit is not supported on Windows Phone/Windows RT")
requiredPrograms = gperf python perl bison ruby flex
for(program, requiredPrograms): \
Expand Down

0 comments on commit 38e51b2

Please sign in to comment.