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

Unified Diff: cc/stubs/Region.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 months 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
« no previous file with comments | « cc/stubs/IntSize.h ('k') | cc/stubs/SkiaUtils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « cc/stubs/IntSize.h ('k') | cc/stubs/SkiaUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698