| Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| index 8149c1449ecf0bd8fc1e7bfd8f172c60f8604ff9..3f643022b97f7f1dd395c36ba8e4746b7748b5ce 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| @@ -157,7 +157,7 @@ private:
|
| std::unique_ptr<FileReaderLoader> m_loader;
|
| };
|
|
|
| -PresentationConnection::PresentationConnection(LocalFrame* frame, const String& id, const String& url)
|
| +PresentationConnection::PresentationConnection(LocalFrame* frame, const String& id, const KURL& url)
|
| : DOMWindowProperty(frame)
|
| , m_id(id)
|
| , m_url(url)
|
| @@ -406,7 +406,7 @@ void PresentationConnection::terminate()
|
|
|
| bool PresentationConnection::matches(WebPresentationConnectionClient* client) const
|
| {
|
| - return client && m_url == static_cast<String>(client->getUrl()) && m_id == static_cast<String>(client->getId());
|
| + return client && m_url == KURL(client->getUrl()) && m_id == static_cast<String>(client->getId());
|
| }
|
|
|
| void PresentationConnection::didChangeState(WebPresentationConnectionState state)
|
|
|