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

Unified Diff: Source/modules/mediastream/RTCPeerConnection.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/modules/mediastream/RTCPeerConnection.cpp
diff --git a/Source/modules/mediastream/RTCPeerConnection.cpp b/Source/modules/mediastream/RTCPeerConnection.cpp
index bbbf993d46b9217086dafd8b14fe8e6dc6995883..a243d1ccb25e7d0f9722855c3572f376c0874e3e 100644
--- a/Source/modules/mediastream/RTCPeerConnection.cpp
+++ b/Source/modules/mediastream/RTCPeerConnection.cpp
@@ -418,7 +418,7 @@ void RTCPeerConnection::removeStream(PassRefPtr<MediaStream> prpStream, Exceptio
RefPtr<MediaStream> stream = prpStream;
size_t pos = m_localStreams.find(stream);
- if (pos == notFound)
+ if (pos == kNotFound)
return;
m_localStreams.remove(pos);
@@ -595,7 +595,7 @@ void RTCPeerConnection::didRemoveRemoteStream(MediaStreamDescriptor* streamDescr
return;
size_t pos = m_remoteStreams.find(stream);
- ASSERT(pos != notFound);
+ ASSERT(pos != kNotFound);
m_remoteStreams.remove(pos);
scheduleDispatchEvent(MediaStreamEvent::create(eventNames().removestreamEvent, false, false, stream.release()));
« no previous file with comments | « Source/modules/mediastream/MediaStream.cpp ('k') | Source/modules/websockets/WebSocketExtensionDispatcherTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698