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

Unified Diff: Source/core/css/resolver/ScopedStyleResolver.cpp

Issue 23742003: Use css-device-adapt constraining for legacy viewport tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More review issues Created 7 years, 3 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: Source/core/css/resolver/ScopedStyleResolver.cpp
diff --git a/Source/core/css/resolver/ScopedStyleResolver.cpp b/Source/core/css/resolver/ScopedStyleResolver.cpp
index 71a446fa012a5f660b9cae2e23456f266b51ed6c..e6e341e8cd8fd3e7d8d09d7dc60c8818e4260954 100644
--- a/Source/core/css/resolver/ScopedStyleResolver.cpp
+++ b/Source/core/css/resolver/ScopedStyleResolver.cpp
@@ -428,7 +428,7 @@ void ScopedStyleResolver::matchPageRules(PageRuleCollector& collector)
void ScopedStyleResolver::collectViewportRulesTo(StyleResolver* resolver) const
{
if (m_authorStyle)
- resolver->collectViewportRules(m_authorStyle.get());
+ resolver->collectViewportRules(m_authorStyle.get(), StyleResolver::AuthorOrigin);
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698