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

Unified Diff: public/platform/WebFloatPoint.h

Issue 457353002: Cleanup namespace usage in public/platform/Web[A-M]*.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/WebFileSystemCallbacks.h ('k') | public/platform/WebFloatPoint3D.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebFloatPoint.h
diff --git a/public/platform/WebFloatPoint.h b/public/platform/WebFloatPoint.h
index 09578f23ad1ebf279fad9d17eb24052534e5271c..0734635e1e432d3ccc673eb128df17304091e6e8 100644
--- a/public/platform/WebFloatPoint.h
+++ b/public/platform/WebFloatPoint.h
@@ -58,22 +58,22 @@ struct WebFloatPoint {
}
#if INSIDE_BLINK
- WebFloatPoint(const blink::FloatPoint& p)
+ WebFloatPoint(const FloatPoint& p)
: x(p.x())
, y(p.y())
{
}
- WebFloatPoint& operator=(const blink::FloatPoint& p)
+ WebFloatPoint& operator=(const FloatPoint& p)
{
x = p.x();
y = p.y();
return *this;
}
- operator blink::FloatPoint() const
+ operator FloatPoint() const
{
- return blink::FloatPoint(x, y);
+ return FloatPoint(x, y);
}
#else
WebFloatPoint(const gfx::PointF& p)
« no previous file with comments | « public/platform/WebFileSystemCallbacks.h ('k') | public/platform/WebFloatPoint3D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698