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

Unified Diff: Source/core/html/HTMLImportLoader.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/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImportLoader.cpp
diff --git a/Source/core/html/HTMLImportLoader.cpp b/Source/core/html/HTMLImportLoader.cpp
index b4a09422c1c6498d5b377e9d89269948558fa387..283b757e15eac55a5e38a8ac4c01d34ee05bf8f7 100644
--- a/Source/core/html/HTMLImportLoader.cpp
+++ b/Source/core/html/HTMLImportLoader.cpp
@@ -153,7 +153,7 @@ Document* HTMLImportLoader::importedDocument() const
void HTMLImportLoader::addClient(HTMLImportLoaderClient* client)
{
- ASSERT(notFound == m_clients.find(client));
+ ASSERT(kNotFound == m_clients.find(client));
m_clients.append(client);
if (isDone())
client->didFinish();
@@ -161,7 +161,7 @@ void HTMLImportLoader::addClient(HTMLImportLoaderClient* client)
void HTMLImportLoader::removeClient(HTMLImportLoaderClient* client)
{
- ASSERT(notFound != m_clients.find(client));
+ ASSERT(kNotFound != m_clients.find(client));
m_clients.remove(m_clients.find(client));
}
« no previous file with comments | « Source/core/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698