Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebTextRun.h
index 64504ef..c4a64e2 100644 (file)
 
 #include "../platform/WebString.h"
 
-#if BLINK_IMPLEMENTATION
-namespace WebCore { class TextRun; }
-#endif
-
 namespace blink {
 
+class TextRun;
+
 struct WebTextRun {
     WebTextRun(const WebString& t, bool isRTL, bool hasDirectionalOverride)
         : text(t)
@@ -57,9 +55,9 @@ struct WebTextRun {
     bool directionalOverride;
 
 #if BLINK_IMPLEMENTATION
-    // The resulting WebCore::TextRun will refer to the text in this
+    // The resulting blink::TextRun will refer to the text in this
     // struct, so "this" must outlive the WebCore text run.
-    operator WebCore::TextRun() const;
+    operator TextRun() const;
 #endif
 };