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

Unified Diff: public/web/WebFontDescription.h

Issue 455883003: Cleanup namespace usage in public/web/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/web/WebElementCollection.h ('k') | public/web/WebFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFontDescription.h
diff --git a/public/web/WebFontDescription.h b/public/web/WebFontDescription.h
index 369599355123207458972037dff9c712e82c126e..cf0772fde3dd450e503872f833c8fb167360074a 100644
--- a/public/web/WebFontDescription.h
+++ b/public/web/WebFontDescription.h
@@ -33,12 +33,10 @@
#include "../platform/WebString.h"
-#if BLINK_IMPLEMENTATION
-namespace blink { class FontDescription; }
-#endif
-
namespace blink {
+class FontDescription;
+
struct WebFontDescription {
enum GenericFamily {
GenericFamilyNone,
@@ -95,9 +93,8 @@ struct WebFontDescription {
short wordSpacing;
#if BLINK_IMPLEMENTATION
- WebFontDescription(const blink::FontDescription&);
-
- operator blink::FontDescription() const;
+ WebFontDescription(const FontDescription&);
+ operator FontDescription() const;
#endif
};
« no previous file with comments | « public/web/WebElementCollection.h ('k') | public/web/WebFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698