Title: [278749] trunk/Source/WebCore
- Revision
- 278749
- Author
- [email protected]
- Date
- 2021-06-10 19:56:28 -0700 (Thu, 10 Jun 2021)
Log Message
Drop unnecessary call to StringView::toStringWithoutCopying() in shouldTreatAsPotentiallyTrustworthy()
https://bugs.webkit.org/show_bug.cgi?id=226907
Reviewed by Darin Adler.
Drop unnecessary call to StringView::toStringWithoutCopying() in shouldTreatAsPotentiallyTrustworthy() since
the function we're calling takes a StringView.
* page/SecurityOrigin.cpp:
(WebCore::shouldTreatAsPotentiallyTrustworthy):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (278748 => 278749)
--- trunk/Source/WebCore/ChangeLog 2021-06-11 02:36:35 UTC (rev 278748)
+++ trunk/Source/WebCore/ChangeLog 2021-06-11 02:56:28 UTC (rev 278749)
@@ -1,3 +1,16 @@
+2021-06-10 Chris Dumez <[email protected]>
+
+ Drop unnecessary call to StringView::toStringWithoutCopying() in shouldTreatAsPotentiallyTrustworthy()
+ https://bugs.webkit.org/show_bug.cgi?id=226907
+
+ Reviewed by Darin Adler.
+
+ Drop unnecessary call to StringView::toStringWithoutCopying() in shouldTreatAsPotentiallyTrustworthy() since
+ the function we're calling takes a StringView.
+
+ * page/SecurityOrigin.cpp:
+ (WebCore::shouldTreatAsPotentiallyTrustworthy):
+
2021-06-10 Wenson Hsieh <[email protected]>
[Live Text] Add a mechanism to regenerate text in an image element when it changes dimensions
Modified: trunk/Source/WebCore/page/SecurityOrigin.cpp (278748 => 278749)
--- trunk/Source/WebCore/page/SecurityOrigin.cpp 2021-06-11 02:36:35 UTC (rev 278748)
+++ trunk/Source/WebCore/page/SecurityOrigin.cpp 2021-06-11 02:56:28 UTC (rev 278749)
@@ -172,7 +172,7 @@
bool shouldTreatAsPotentiallyTrustworthy(const URL& url)
{
- return shouldTreatAsPotentiallyTrustworthy(url.protocol().toStringWithoutCopying(), url.host().toStringWithoutCopying());
+ return shouldTreatAsPotentiallyTrustworthy(url.protocol().toStringWithoutCopying(), url.host());
}
SecurityOrigin::SecurityOrigin(const URL& url)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes