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

Unified Diff: Source/core/dom/Document.h

Issue 23185008: Reset viewport to implicit when @viewport is removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 22c56a4316b4688b4165a347b9027d86813cc7e4..740582bf901e85b9f34016e158cb829fb1e492a5 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -292,7 +292,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(securitypolicyviolation);
void setViewportArguments(const ViewportArguments& viewportArguments) { m_viewportArguments = viewportArguments; }
- ViewportArguments viewportArguments() const { return m_viewportArguments; }
+ const ViewportArguments& viewportArguments() const { return m_viewportArguments; }
#ifndef NDEBUG
bool didDispatchViewportPropertiesChanged() const { return m_didDispatchViewportPropertiesChanged; }
#endif

Powered by Google App Engine
This is Rietveld 408576698