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

Unified Diff: Source/wtf/text/CString.h

Issue 15861022: Build WTF as dll in component build (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix AutoDrainedPool ctor and ThreadSpecificThreadExit exports Created 7 years, 7 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 | « Source/wtf/text/Base64.h ('k') | Source/wtf/text/StringBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/CString.h
diff --git a/Source/wtf/text/CString.h b/Source/wtf/text/CString.h
index 87a15554e89f33781c00d093c916bc85bbc93cd2..b475506c629254dbd59d56de54d4211a1f823087 100644
--- a/Source/wtf/text/CString.h
+++ b/Source/wtf/text/CString.h
@@ -26,9 +26,10 @@
#ifndef CString_h
#define CString_h
-#include <wtf/PassRefPtr.h>
-#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
+#include "wtf/PassRefPtr.h"
+#include "wtf/RefCounted.h"
+#include "wtf/Vector.h"
+#include "wtf/WTFExport.h"
namespace WTF {
@@ -56,7 +57,7 @@ private:
// A container for a null-terminated char array supporting copy-on-write
// assignment. The contained char array may be null.
-class CString {
+class WTF_EXPORT CString {
public:
CString() { }
CString(const char*);
@@ -85,9 +86,9 @@ private:
RefPtr<CStringBuffer> m_buffer;
};
-bool operator==(const CString& a, const CString& b);
+WTF_EXPORT bool operator==(const CString& a, const CString& b);
inline bool operator!=(const CString& a, const CString& b) { return !(a == b); }
-bool operator==(const CString& a, const char* b);
+WTF_EXPORT bool operator==(const CString& a, const char* b);
inline bool operator!=(const CString& a, const char* b) { return !(a == b); }
} // namespace WTF
« no previous file with comments | « Source/wtf/text/Base64.h ('k') | Source/wtf/text/StringBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698