[BlackBerry] Poor rendering opening a Google map short link
[WebKit-https.git] / Source / WebCore / platform / graphics / blackberry / LayerData.h
index 6402f6e46c16050830e998b5246a8eda60a0cd1d..63f0e169a79fd25b5813b741f7c8be2b3749f58e 100644 (file)
@@ -178,6 +178,16 @@ public:
 
     LayerType layerType() const { return m_layerType; }
 
+    bool isCanvasLayer() const
+    {
+        return m_layerType == CanvasLayer;
+    }
+
+    bool isVisible() const
+    {
+        return m_isVisible;
+    }
+
     bool includeVisibility() const
     {
         if (pluginView())
@@ -188,6 +198,9 @@ public:
             return true;
 #endif
 
+        if (isCanvasLayer())
+            return true;
+
         return false;
     }