Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: third_party/WebKit/Source/core/frame/FrameSerializer.cpp

Issue 2810073002: Blink Rename follow-up: URLs --big-rename--> _ur_ls --this-fix--> _urls. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/FrameSerializer.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
index 6ec5d00e84959125e62a4a8643b11bda86174ac8..5596684b8e22ffe20d4bd920e6eda14365b225d6 100644
--- a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
@@ -350,7 +350,7 @@ void FrameSerializer::SerializeCSSStyleSheet(CSSStyleSheet& style_sheet,
bool is_inline_css = !url.IsValid() || url.ProtocolIsData();
// If this CSS is not inline then it is identifiable by its URL. So just skip
// it if it has already been analyzed before.
- if (!is_inline_css && (resource_ur_ls_.Contains(url) ||
+ if (!is_inline_css && (resource_urls_.Contains(url) ||
delegate_.ShouldSkipResourceWithURL(url))) {
return;
}
@@ -390,7 +390,7 @@ void FrameSerializer::SerializeCSSStyleSheet(CSSStyleSheet& style_sheet,
resources_->push_back(
SerializedResource(url, String("text/css"),
SharedBuffer::Create(text.Data(), text.length())));
- resource_ur_ls_.insert(url);
+ resource_urls_.insert(url);
}
// Sub resources need to be serialized even if the CSS definition doesn't
@@ -455,7 +455,7 @@ void FrameSerializer::SerializeCSSRule(CSSRule* rule) {
}
bool FrameSerializer::ShouldAddURL(const KURL& url) {
- return url.IsValid() && !resource_ur_ls_.Contains(url) &&
+ return url.IsValid() && !resource_urls_.Contains(url) &&
!url.ProtocolIsData() && !delegate_.ShouldSkipResourceWithURL(url);
}
@@ -473,7 +473,7 @@ void FrameSerializer::AddToResources(
}
resources_->push_back(SerializedResource(url, mime_type, std::move(data)));
- resource_ur_ls_.insert(url);
+ resource_urls_.insert(url);
}
void FrameSerializer::AddImageToResources(ImageResourceContent* image,
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameSerializer.h ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698