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 |
}; |