Unreviewed, apply post-landing review comments after r239221.
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2018 19:36:54 +0000 (19:36 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2018 19:36:54 +0000 (19:36 +0000)
* UIProcess/WebPageDebuggable.cpp:
(WebKit::WebPageDebuggable::url const):
Switch to WTF::blankURL() instead of using "about:blank" directly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239224 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebPageDebuggable.cpp

index 65f2aa8..b9ab547 100644 (file)
@@ -1,3 +1,11 @@
+2018-12-14  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Unreviewed, apply post-landing review comments after r239221.
+
+        * UIProcess/WebPageDebuggable.cpp:
+        (WebKit::WebPageDebuggable::url const):
+        Switch to WTF::blankURL() instead of using "about:blank" directly.
+
 2018-12-14  Chris Dumez  <cdumez@apple.com>
 
         [PSON] Process-swapping on a loadHTMLString causes duplicate decidePolicyForNavigationAction delegate calls
index 351f923..bebbdf8 100644 (file)
@@ -55,11 +55,11 @@ String WebPageDebuggable::name() const
 String WebPageDebuggable::url() const
 {
     if (!m_page.mainFrame())
-        return "about:blank"_s;
+        return WTF::blankURL().string();
 
     String url = m_page.mainFrame()->url().string();
     if (url.isEmpty())
-        return "about:blank"_s;
+        return WTF::blankURL().string();
 
     return url;
 }