Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebRect.h
index 440e168..107c0b5 100644 (file)
@@ -68,7 +68,7 @@ struct WebRect {
     }
 
 #if INSIDE_BLINK
-    WebRect(const WebCore::IntRect& r)
+    WebRect(const IntRect& r)
         : x(r.x())
         , y(r.y())
         , width(r.width())
@@ -76,7 +76,7 @@ struct WebRect {
     {
     }
 
-    WebRect& operator=(const WebCore::IntRect& r)
+    WebRect& operator=(const IntRect& r)
     {
         x = r.x();
         y = r.y();
@@ -85,9 +85,9 @@ struct WebRect {
         return *this;
     }
 
-    operator WebCore::IntRect() const
+    operator IntRect() const
     {
-        return WebCore::IntRect(x, y, width, height);
+        return IntRect(x, y, width, height);
     }
 #else
     WebRect(const gfx::Rect& r)