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

Unified Diff: public/platform/WebRect.h

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « public/platform/WebRTCVoidRequest.h ('k') | public/platform/WebSchedulerProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebRect.h
diff --git a/public/platform/WebRect.h b/public/platform/WebRect.h
index 47a15f8e49ec8818c57910e9e2e51621d8c0afbb..107c0b57e4b06698e4e0bbaab825253d18673e08 100644
--- a/public/platform/WebRect.h
+++ b/public/platform/WebRect.h
@@ -68,7 +68,7 @@ struct WebRect {
}
#if INSIDE_BLINK
- WebRect(const blink::IntRect& r)
+ WebRect(const IntRect& r)
: x(r.x())
, y(r.y())
, width(r.width())
@@ -76,7 +76,7 @@ struct WebRect {
{
}
- WebRect& operator=(const blink::IntRect& r)
+ WebRect& operator=(const IntRect& r)
{
x = r.x();
y = r.y();
@@ -85,9 +85,9 @@ struct WebRect {
return *this;
}
- operator blink::IntRect() const
+ operator IntRect() const
{
- return blink::IntRect(x, y, width, height);
+ return IntRect(x, y, width, height);
}
#else
WebRect(const gfx::Rect& r)
« no previous file with comments | « public/platform/WebRTCVoidRequest.h ('k') | public/platform/WebSchedulerProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698