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

Unified Diff: sky/engine/core/html/canvas/Canvas2DContextAttributes.cpp

Issue 731863003: Remove CSSCompositing (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: preland Created 6 years, 1 month 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: sky/engine/core/html/canvas/Canvas2DContextAttributes.cpp
diff --git a/sky/engine/core/html/canvas/Canvas2DContextAttributes.cpp b/sky/engine/core/html/canvas/Canvas2DContextAttributes.cpp
index c5b869590a1c049276ea4fa85bce9d5ec5d509d7..aa06ef7ae32fd9fc6255b19b957d782c18e4e71c 100644
--- a/sky/engine/core/html/canvas/Canvas2DContextAttributes.cpp
+++ b/sky/engine/core/html/canvas/Canvas2DContextAttributes.cpp
@@ -33,8 +33,7 @@
namespace blink {
Canvas2DContextAttributes::Canvas2DContextAttributes()
- : m_alpha(true)
- , m_storage(PersistentStorage)
+ : m_storage(PersistentStorage)
{
}
@@ -45,16 +44,6 @@ PassRefPtr<Canvas2DContextAttributes> Canvas2DContextAttributes::create()
return adoptRef(new Canvas2DContextAttributes());
}
-bool Canvas2DContextAttributes::alpha() const
-{
- return m_alpha;
-}
-
-void Canvas2DContextAttributes::setAlpha(bool alpha)
-{
- m_alpha = alpha;
-}
-
String Canvas2DContextAttributes::storage() const
{
return m_storage == PersistentStorage ? "persistent" : "discardable";
« no previous file with comments | « sky/engine/core/html/canvas/Canvas2DContextAttributes.h ('k') | sky/engine/core/html/canvas/Canvas2DContextAttributes.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698