[cr147] blink::KURL methods renamed.
Chromium change: https://source.chromium.org/chromium/chromium/src/+/4b899f586d008696129d653b08cf5b5bb9ce5963 commit 4b899f586d008696129d653b08cf5b5bb9ce5963 Author: Kent Tamura <tkent@chromium.org> Date: Mon Mar 2 19:13:08 2026 -0800 blink: Rename functions declared in kurl.{h,cc} This CL renames several functions in `kurl.{h,cc}` to follow the Google C++ style guide for identifier naming, which prefers `Url` and `Http` over `URL` and `HTTP`. The following renames were made: - ProtocolIsInHTTPFamily -> ProtocolIsInHttpFamily - IsAboutBlankURL -> IsAboutBlankUrl - IsAboutSrcdocURL -> IsAboutSrcdocUrl - InnerURL -> InnerUrl - IsAboutURL -> IsAboutUrl - InitInnerURL -> InitInnerUrl - AssertStringSpecIsASCII -> AssertStringSpecIsAscii - BlankURL -> BlankUrl - SrcdocURL -> SrcdocUrl - EncodeWithURLEscapeSequences -> EncodeWithUrlEscapeSequences This is a pure refactoring with no change in behavior.
This commit is contained in:
@@ -1295,7 +1295,7 @@ void PageGraph::RegisterDocumentNodeCreated(blink::Document* document) {
|
||||
AddNode<NodeDOMRoot>(node_id, local_tag_name, is_frame_attached);
|
||||
auto url = document->Url();
|
||||
dom_root->SetURL(url);
|
||||
if (!source_url_ && url.IsValid() && url.ProtocolIsInHTTPFamily()) {
|
||||
if (!source_url_ && url.IsValid() && url.ProtocolIsInHttpFamily()) {
|
||||
source_url_ = url;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user