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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 26541008: Web setting for canvas2d msaa (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: working? Created 7 years, 2 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/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index e433f4e4cb879065a53a35607dccdb1b74269735..26f92cbf641885434ddb95adc2ea28b2f0e6743a 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -501,6 +501,11 @@ void WebSettingsImpl::setAccelerated2dCanvasEnabled(bool enabled)
m_settings->setAccelerated2dCanvasEnabled(enabled);
}
+void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
+{
+ m_settings->setAccelerated2dCanvasMSAASampleCount(count);
+}
+
void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled)
{
m_settings->setAntialiased2dCanvasEnabled(enabled);

Powered by Google App Engine
This is Rietveld 408576698