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

Unified Diff: public/platform/WebPoint.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/WebPermissionCallbacks.h ('k') | public/platform/WebPrerender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebPoint.h
diff --git a/public/platform/WebPoint.h b/public/platform/WebPoint.h
index 2fd381d6d53f1a605d7ad9b71b1594497d27e7ac..54983157053395674da7f30573547d460505b4f0 100644
--- a/public/platform/WebPoint.h
+++ b/public/platform/WebPoint.h
@@ -58,22 +58,22 @@ struct WebPoint {
}
#if INSIDE_BLINK
- WebPoint(const blink::IntPoint& p)
+ WebPoint(const IntPoint& p)
: x(p.x())
, y(p.y())
{
}
- WebPoint& operator=(const blink::IntPoint& p)
+ WebPoint& operator=(const IntPoint& p)
{
x = p.x();
y = p.y();
return *this;
}
- operator blink::IntPoint() const
+ operator IntPoint() const
{
- return blink::IntPoint(x, y);
+ return IntPoint(x, y);
}
#else
WebPoint(const gfx::Point& p)
« no previous file with comments | « public/platform/WebPermissionCallbacks.h ('k') | public/platform/WebPrerender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698