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

Unified Diff: third_party/WebKit/Source/wtf/text/WTFString.h

Issue 2026103002: Remove wtf::String::characterAt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/text/WTFString.h
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.h b/third_party/WebKit/Source/wtf/text/WTFString.h
index 90636b5dee4d9eb1fe2019b4949f74e7112082e8..27462b0bae4a295154ff9c1d26b3890647125679 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.h
+++ b/third_party/WebKit/Source/wtf/text/WTFString.h
@@ -448,14 +448,6 @@ public:
void show() const;
#endif
- // Workaround for a compiler bug. Use operator[] instead.
- UChar characterAt(unsigned index) const
- {
- if (!m_impl || index >= m_impl->length())
- return 0;
- return (*m_impl)[index];
- }
-
private:
typedef struct ImplicitConversionFromWTFStringToBoolDisallowed* (String::*UnspecifiedBoolType);
operator UnspecifiedBoolType() const;
« no previous file with comments | « third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698