| Index: third_party/WebKit/Source/core/dom/Document.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
|
| index f130ef0e2c3852bfb8c4903318299438703f071c..2570663dca17e80217cba97c257e7c135a263328 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -264,10 +264,10 @@ public:
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart);
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
|
|
|
| - bool shouldMergeWithLegacyDescription(ViewportDescription::Type);
|
| - bool shouldOverrideLegacyDescription(ViewportDescription::Type);
|
| + bool shouldMergeWithLegacyDescription(ViewportDescription::Type) const;
|
| + bool shouldOverrideLegacyDescription(ViewportDescription::Type) const;
|
| void setViewportDescription(const ViewportDescription&);
|
| - const ViewportDescription& viewportDescription() const { return m_viewportDescription; }
|
| + ViewportDescription viewportDescription() const;
|
| Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; }
|
|
|
| String outgoingReferrer() const override;
|
| @@ -1414,7 +1414,7 @@ private:
|
|
|
| extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>;
|
|
|
| -inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type origin)
|
| +inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type origin) const
|
| {
|
| // The different (legacy) meta tags have different priorities based on the type
|
| // regardless of which order they appear in the DOM. The priority is given by the
|
|
|