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

Unified Diff: Source/modules/websockets/WebSocketExtensionDispatcherTest.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/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/web/PageOverlayList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/WebSocketExtensionDispatcherTest.cpp
diff --git a/Source/modules/websockets/WebSocketExtensionDispatcherTest.cpp b/Source/modules/websockets/WebSocketExtensionDispatcherTest.cpp
index f4dd0d5b21dcfa6be640ed900a2e12ab2bf036c6..c371bbc46dc390c2271f56254ea2db81d6b5dce7 100644
--- a/Source/modules/websockets/WebSocketExtensionDispatcherTest.cpp
+++ b/Source/modules/websockets/WebSocketExtensionDispatcherTest.cpp
@@ -123,8 +123,8 @@ TEST_F(WebSocketExtensionDispatcherTest, TestMultiple)
addMockProcessor("mux");
addMockProcessor("deflate-frame");
EXPECT_TRUE(m_extensions.processHeaderValue("mux ; max-channels =4;flow-control, deflate-frame "));
- EXPECT_TRUE(m_extensions.acceptedExtensions().find("mux") != notFound);
- EXPECT_TRUE(m_extensions.acceptedExtensions().find("deflate-frame") != notFound);
+ EXPECT_TRUE(m_extensions.acceptedExtensions().find("mux") != kNotFound);
+ EXPECT_TRUE(m_extensions.acceptedExtensions().find("deflate-frame") != kNotFound);
for (size_t i = 0; i < sizeof(expected) / sizeof(expected[0]); ++i) {
EXPECT_EQ(expected[i].token, m_parsedExtensionTokens[i]);
const HashMap<String, String>& expectedParameters = expected[i].parameters;
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/web/PageOverlayList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698