Index: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
index 4e64c8f2fc4e5f4822ca815746f3a84c1a305155..08e33e2ae7f7d7f5c82370dfc848eae70f35ce46 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
@@ -38,7 +38,6 @@ |
#include "core/css/StyleRule.h" |
#include "core/css/StyleSheetContents.h" |
#include "core/css/resolver/MatchRequest.h" |
-#include "core/css/resolver/ViewportStyleResolver.h" |
#include "core/dom/Document.h" |
#include "core/dom/StyleChangeReason.h" |
#include "core/dom/StyleEngine.h" |
@@ -260,16 +259,6 @@ void ScopedStyleResolver::matchPageRules(PageRuleCollector& collector) { |
collector.matchPageRules(&m_authorStyleSheets[i]->contents()->ruleSet()); |
} |
-void ScopedStyleResolver::collectViewportRulesTo( |
- ViewportStyleResolver* resolver) const { |
- if (!m_scope->rootNode().isDocumentNode()) |
- return; |
- for (size_t i = 0; i < m_authorStyleSheets.size(); ++i) |
- resolver->collectViewportRules( |
- &m_authorStyleSheets[i]->contents()->ruleSet(), |
- ViewportStyleResolver::AuthorOrigin); |
-} |
- |
DEFINE_TRACE(ScopedStyleResolver) { |
visitor->trace(m_scope); |
visitor->trace(m_authorStyleSheets); |