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

Unified Diff: Source/core/rendering/RenderTable.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/rendering/RenderLayer.cpp ('k') | Source/core/rendering/svg/RenderSVGText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTable.cpp
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp
index 2979a16db5c4ca2ebfacb0e25a1f5d74ba564ddc..4cbcf05b99a5be2b462e34f0b8051e7a41055c6a 100644
--- a/Source/core/rendering/RenderTable.cpp
+++ b/Source/core/rendering/RenderTable.cpp
@@ -200,15 +200,15 @@ void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild)
void RenderTable::addCaption(const RenderTableCaption* caption)
{
- ASSERT(m_captions.find(caption) == notFound);
+ ASSERT(m_captions.find(caption) == kNotFound);
m_captions.append(const_cast<RenderTableCaption*>(caption));
}
void RenderTable::removeCaption(const RenderTableCaption* oldCaption)
{
size_t index = m_captions.find(oldCaption);
- ASSERT(index != notFound);
- if (index == notFound)
+ ASSERT(index != kNotFound);
+ if (index == kNotFound)
return;
m_captions.remove(index);
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/svg/RenderSVGText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698