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

Unified Diff: Source/core/editing/InputMethodController.cpp

Issue 23464095: WTF::notFound looks too much like a local variable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/core/editing/InputMethodController.h ('k') | Source/core/editing/InsertTextCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/InputMethodController.cpp
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp
index ed5347958eb65fbccc3e6876f30e1c5973ffb8e9..38bc074e820dd96115734a560c496867a375e5a0 100644
--- a/Source/core/editing/InputMethodController.cpp
+++ b/Source/core/editing/InputMethodController.cpp
@@ -44,8 +44,8 @@
namespace WebCore {
PlainTextOffsets::PlainTextOffsets()
- : m_start(notFound)
- , m_end(notFound)
+ : m_start(kNotFound)
+ , m_end(kNotFound)
{
}
@@ -53,8 +53,8 @@ PlainTextOffsets::PlainTextOffsets(int start, int end)
: m_start(start)
, m_end(end)
{
- ASSERT(start != notFound);
- ASSERT(end != notFound);
+ ASSERT(start != kNotFound);
+ ASSERT(end != kNotFound);
ASSERT(start <= end);
}
« no previous file with comments | « Source/core/editing/InputMethodController.h ('k') | Source/core/editing/InsertTextCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698