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

Unified Diff: Source/core/css/StyleSheetContents.cpp

Issue 1210073004: Remove some unused code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/core/css/StyleSheetContents.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetContents.cpp
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
index 5a6e6f281cec86fd9b88108e690fbf1a1c6cf501..15645ca03bc56ba980ac53b040ba1eb1881a005a 100644
--- a/Source/core/css/StyleSheetContents.cpp
+++ b/Source/core/css/StyleSheetContents.cpp
@@ -424,12 +424,6 @@ Document* StyleSheetContents::singleOwnerDocument() const
return root->clientSingleOwnerDocument();
}
-KURL StyleSheetContents::completeURL(const String& url) const
-{
- // FIXME: This is only OK when we have a singleOwnerNode, right?
- return m_parserContext.completeURL(url);
-}
-
static bool childRulesHaveFailedOrCanceledSubresources(const WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase>>& rules)
{
for (unsigned i = 0; i < rules.size(); ++i) {
@@ -550,12 +544,6 @@ void StyleSheetContents::removedFromMemoryCache()
m_isInMemoryCache = false;
}
-void StyleSheetContents::shrinkToFit()
-{
- m_importRules.shrinkToFit();
- m_childRules.shrinkToFit();
-}
-
RuleSet& StyleSheetContents::ensureRuleSet(const MediaQueryEvaluator& medium, AddRuleFlags addRuleFlags)
{
if (!m_ruleSet) {
« no previous file with comments | « Source/core/css/StyleSheetContents.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698