Index: Source/core/dom/ViewportDescription.h |
diff --git a/Source/core/dom/ViewportDescription.h b/Source/core/dom/ViewportDescription.h |
index 96cccc0327b05fdce19cddcda23a3b6a0a0c255b..53eed2688f5ac3699e52e0cee31ce292d2609d8e 100644 |
--- a/Source/core/dom/ViewportDescription.h |
+++ b/Source/core/dom/ViewportDescription.h |
@@ -106,6 +106,7 @@ struct ViewportDescription { |
bool isLegacyViewportType() const { return type >= HandheldFriendlyMeta && type <= ViewportMeta; } |
bool isMetaViewportType() const { return type == ViewportMeta; } |
+ bool isSpecifiedByAuthor() const { return type != UserAgentStyleSheet; } |
private: |
enum Direction { Horizontal, Vertical }; |