| Index: cc/stubs/Region.h
|
| diff --git a/cc/stubs/Region.h b/cc/stubs/Region.h
|
| index c7f8f504e8e09abaade89dba8b2ae30f433a7935..6930641c9cafad2e2fad6b117e4f449fb189e727 100644
|
| --- a/cc/stubs/Region.h
|
| +++ b/cc/stubs/Region.h
|
| @@ -5,6 +5,35 @@
|
| #ifndef CC_STUBS_REGION_H_
|
| #define CC_STUBS_REGION_H_
|
|
|
| +#include "IntRect.h"
|
| +#if INSIDE_WEBKIT_BUILD
|
| +#include "Source/WebCore/platform/graphics/Region.h"
|
| +#else
|
| #include "third_party/WebKit/Source/WebCore/platform/graphics/Region.h"
|
| +#endif
|
| +
|
| +namespace cc {
|
| +
|
| +class Region : public WebCore::Region {
|
| +public:
|
| + Region() { }
|
| +
|
| + Region(const IntRect& rect)
|
| + : WebCore::Region(rect)
|
| + {
|
| + }
|
| +
|
| + Region(const WebCore::IntRect& rect)
|
| + : WebCore::Region(rect)
|
| + {
|
| + }
|
| +
|
| + Region(const WebCore::Region& region)
|
| + : WebCore::Region(region)
|
| + {
|
| + }
|
| +};
|
| +
|
| +}
|
|
|
| #endif // CC_STUBS_REGION_H_
|
|
|