Index: third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp b/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp |
index d8f6e39197310d7fb9ff91298e9c1a207cf981ae..a41ce2bca7eb8790e7e7129342bfa2ee6982ae5f 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp |
@@ -9,6 +9,7 @@ |
#include "core/frame/LocalFrame.h" |
#include "core/testing/DummyPageHolder.h" |
#include "modules/presentation/PresentationConnectionList.h" |
+#include "platform/testing/URLTestHelpers.h" |
#include "public/platform/modules/presentation/WebPresentationConnectionClient.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -34,7 +35,7 @@ public: |
class TestWebPresentationConnectionClient : public WebPresentationConnectionClient { |
public: |
WebString getId() override { return WebString::fromUTF8("id"); } |
- WebString getUrl() override { return WebString::fromUTF8("url"); } |
+ WebURL getUrl() override { return URLTestHelpers::toKURL("http://www.example.com"); } |
}; |
class PresentationReceiverTest : public ::testing::Test { |