src/Visit.cpp in capybara-webkit-0.12.1 vs src/Visit.cpp in capybara-webkit-0.13.0
- old
+ new
@@ -1,9 +1,10 @@
#include "Visit.h"
-#include "Command.h"
+#include "SocketCommand.h"
#include "WebPage.h"
+#include "WebPageManager.h"
-Visit::Visit(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, arguments, parent) {
+Visit::Visit(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
}
void Visit::start() {
QUrl requestedUrl = QUrl::fromEncoded(arguments()[0].toUtf8(), QUrl::StrictMode);
page()->currentFrame()->load(QUrl(requestedUrl));