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

Unified Diff: public/platform/WebSize.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/WebServiceWorkerResponse.h ('k') | public/platform/WebSocketHandshakeRequestInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebSize.h
diff --git a/public/platform/WebSize.h b/public/platform/WebSize.h
index f137ac381bd0e7962de1eb8522ba359889551e47..fb1d8920bf97d24421763043b6b027e04cd65f5a 100644
--- a/public/platform/WebSize.h
+++ b/public/platform/WebSize.h
@@ -63,22 +63,22 @@ struct WebSize {
}
#if INSIDE_BLINK
- WebSize(const blink::IntSize& s)
+ WebSize(const IntSize& s)
: width(s.width())
, height(s.height())
{
}
- WebSize& operator=(const blink::IntSize& s)
+ WebSize& operator=(const IntSize& s)
{
width = s.width();
height = s.height();
return *this;
}
- operator blink::IntSize() const
+ operator IntSize() const
{
- return blink::IntSize(width, height);
+ return IntSize(width, height);
}
#else
WebSize(const gfx::Size& s)
« no previous file with comments | « public/platform/WebServiceWorkerResponse.h ('k') | public/platform/WebSocketHandshakeRequestInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698