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

Unified Diff: Source/core/inspector/InspectorStyleSheet.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
Index: Source/core/inspector/InspectorStyleSheet.cpp
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
index 56d40a94d7750d7384b2268bc8cc41176bd3aa47..698e4f0b0b1e6293e92e1f2e0ecef3142106b979 100644
--- a/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/Source/core/inspector/InspectorStyleSheet.cpp
@@ -362,7 +362,7 @@ void StyleSheetHandler::endProperty(bool isImportant, bool isParsed, unsigned of
if (propertyString.endsWith(';'))
propertyString = propertyString.left(propertyString.length() - 1);
size_t colonIndex = propertyString.find(':');
- ASSERT(colonIndex != notFound);
+ ASSERT(colonIndex != kNotFound);
String name = propertyString.left(colonIndex).stripWhiteSpace();
String value = propertyString.substring(colonIndex + 1, propertyString.length()).stripWhiteSpace();
@@ -1539,7 +1539,7 @@ unsigned InspectorStyleSheet::ruleIndexByRule(const CSSRule* rule) const
{
ensureFlatRules();
size_t index = m_flatRules.find(rule);
- return index == notFound ? UINT_MAX : static_cast<unsigned>(index);
+ return index == kNotFound ? UINT_MAX : static_cast<unsigned>(index);
}
bool InspectorStyleSheet::checkPageStyleSheet(ExceptionState& es) const
« no previous file with comments | « Source/core/inspector/InspectorDOMDebuggerAgent.cpp ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698