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

Unified Diff: third_party/WebKit/Source/core/css/MediaValuesCached.cpp

Issue 1738133002: Add support for media attribute on link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nits Created 4 years, 9 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: third_party/WebKit/Source/core/css/MediaValuesCached.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
index 75c3a53d281d2517bad8d42ef3c8006086aa9c88..e101a243685509de0dd4e2fbbf2fcb40b3fde802 100644
--- a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
+++ b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
@@ -161,13 +161,9 @@ bool MediaValuesCached::hasValues() const
return true;
}
-void MediaValuesCached::setViewportWidth(double width)
+void MediaValuesCached::overrideViewportDimensions(double width, double height)
{
m_data.viewportWidth = width;
-}
-
-void MediaValuesCached::setViewportHeight(double height)
-{
m_data.viewportHeight = height;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaValuesCached.h ('k') | third_party/WebKit/Source/core/css/MediaValuesDynamic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698