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

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

Issue 2652313004: Implement color-gamut media query (Closed)
Patch Set: fix windows build Created 3 years, 11 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/MediaValuesDynamic.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp b/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
index 99a9345cd30f16a3a6cc2041957febfd2e1766f0..57eef496764837aa86f810010bf70493820bc145 100644
--- a/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
+++ b/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
@@ -136,6 +136,10 @@ DisplayShape MediaValuesDynamic::displayShape() const {
return calculateDisplayShape(m_frame);
}
+ColorSpaceGamut MediaValuesDynamic::colorGamut() const {
+ return calculateColorGamut(m_frame);
+}
+
Document* MediaValuesDynamic::document() const {
return m_frame->document();
}

Powered by Google App Engine
This is Rietveld 408576698