summaryrefslogtreecommitdiff
path: root/Userland/test-web.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-17 15:58:29 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-17 18:05:35 +0200
commit56c3748dcc8d6faf3815bbde29df741cb7b8ffc7 (patch)
treef1033cd0ad428d92cf9b7573cbc1bdd044436278 /Userland/test-web.cpp
parentba856c7ebe1507773cabc2d4ec90bdd904ca1e59 (diff)
downloadserenity-56c3748dcc8d6faf3815bbde29df741cb7b8ffc7.zip
LibWeb: Rename PageView => InProcessWebView
Diffstat (limited to 'Userland/test-web.cpp')
-rw-r--r--Userland/test-web.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/test-web.cpp b/Userland/test-web.cpp
index e8082483ca..bdf011e625 100644
--- a/Userland/test-web.cpp
+++ b/Userland/test-web.cpp
@@ -44,7 +44,7 @@
#include <LibJS/Runtime/MarkedValueList.h>
#include <LibWeb/HTML/Parser/HTMLDocumentParser.h>
#include <LibWeb/Loader/ResourceLoader.h>
-#include <LibWeb/PageView.h>
+#include <LibWeb/InProcessWebView.h>
#include <sys/time.h>
#define TOP_LEVEL_TEST_NAME "__$$TOP_LEVEL$$__"
@@ -136,7 +136,7 @@ JS_DEFINE_NATIVE_FUNCTION(TestRunnerObject::change_page)
class TestRunner {
public:
- TestRunner(String web_test_root, String js_test_root, Web::PageView& page_view, bool print_times)
+ TestRunner(String web_test_root, String js_test_root, Web::InProcessWebView& page_view, bool print_times)
: m_web_test_root(move(web_test_root))
, m_js_test_root(move(js_test_root))
, m_print_times(print_times)
@@ -158,7 +158,7 @@ private:
double m_total_elapsed_time_in_ms { 0 };
JSTestRunnerCounts m_counts;
- RefPtr<Web::PageView> m_page_view;
+ RefPtr<Web::InProcessWebView> m_page_view;
RefPtr<JS::Program> m_js_test_common;
RefPtr<JS::Program> m_web_test_common;
@@ -643,7 +643,7 @@ int main(int argc, char** argv)
auto& main_widget = window->set_main_widget<GUI::Widget>();
main_widget.set_fill_with_background_color(true);
main_widget.set_layout<GUI::VerticalBoxLayout>();
- auto& view = main_widget.add<Web::PageView>();
+ auto& view = main_widget.add<Web::InProcessWebView>();
view.set_document(adopt(*new Web::DOM::Document));