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

Unified Diff: public/web/WebTextRun.h

Issue 454103003: Cleanup namespace usage in public/web/Web[N-Z]*.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/WebTextCheckingResult.h ('k') | public/web/WebUserGestureToken.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebTextRun.h
diff --git a/public/web/WebTextRun.h b/public/web/WebTextRun.h
index ca5d6a8e2ea96e868726bf0d8d62b3dc2cfaa455..c4a64e2f0918eb18c1766b16f3557c7272e37a75 100644
--- a/public/web/WebTextRun.h
+++ b/public/web/WebTextRun.h
@@ -33,12 +33,10 @@
#include "../platform/WebString.h"
-#if BLINK_IMPLEMENTATION
-namespace blink { class TextRun; }
-#endif
-
namespace blink {
+class TextRun;
+
struct WebTextRun {
WebTextRun(const WebString& t, bool isRTL, bool hasDirectionalOverride)
: text(t)
@@ -59,7 +57,7 @@ struct WebTextRun {
#if BLINK_IMPLEMENTATION
// The resulting blink::TextRun will refer to the text in this
// struct, so "this" must outlive the WebCore text run.
- operator blink::TextRun() const;
+ operator TextRun() const;
#endif
};
« no previous file with comments | « public/web/WebTextCheckingResult.h ('k') | public/web/WebUserGestureToken.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698