OSDN Git Service

Fix image layer codepath
[android-x86/external-webkit.git] / Source / WebCore / platform / graphics / android / GraphicsLayerAndroid.h
index 10db5a1..358f674 100644 (file)
@@ -31,6 +31,7 @@
 class FloatPoint3D;
 class Image;
 class SkBitmapRef;
+class SkRegion;
 
 namespace WebCore {
 
@@ -144,11 +145,10 @@ private:
     bool m_needsNotifyClient;
 
     bool m_haveContents;
-    bool m_haveImage;
     bool m_newImage;
-    SkBitmapRef* m_imageRef; // only used to remember previously passed images
+    Image* m_image;
 
-    Vector<FloatRect> m_invalidatedRects;
+    SkRegion m_dirtyRegion;
 
     LayerAndroid* m_contentLayer;
     ScrollableLayerAndroid* m_foregroundLayer;