Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / cc / resources / layer_tiling_data.h
index 32fec4e..b369d61 100644 (file)
@@ -12,7 +12,7 @@
 #include "base/containers/scoped_ptr_hash_map.h"
 #include "base/memory/scoped_ptr.h"
 #include "cc/base/cc_export.h"
-#include "cc/base/region.h"
+#include "cc/base/simple_enclosed_region.h"
 #include "cc/base/tiling_data.h"
 #include "ui/gfx/rect.h"
 
@@ -63,14 +63,9 @@ class CC_EXPORT LayerTilingData {
       j_ = j;
     }
 
-    gfx::Rect opaque_rect() const { return opaque_rect_; }
-    void set_opaque_rect(const gfx::Rect& opaque_rect) {
-      opaque_rect_ = opaque_rect;
-    }
    private:
     int i_;
     int j_;
-    gfx::Rect opaque_rect_;
     DISALLOW_COPY_AND_ASSIGN(Tile);
   };
   typedef std::pair<int, int> TileMapKey;
@@ -91,8 +86,6 @@ class CC_EXPORT LayerTilingData {
                                 int* bottom) const;
   gfx::Rect TileRect(const Tile* tile) const;
 
-  Region OpaqueRegionInContentRect(const gfx::Rect& rect) const;
-
   void reset() { tiles_.clear(); }
 
  protected: