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

Unified Diff: Source/modules/device_orientation/DeviceSensorEventDispatcher.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/xml/XPathParser.cpp ('k') | Source/modules/filesystem/DOMFilePath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
diff --git a/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp b/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
index e48d4a3eed516f5ea0bb2a2bcbc034ec1513580b..b5cd6ffaf0e3d161b4249679df4d94179d4d84a7 100644
--- a/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
+++ b/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
@@ -61,7 +61,7 @@ void DeviceSensorEventDispatcher::removeController(DeviceSensorEventController*
// This is to correctly handle the re-entrancy case when a controller is destroyed
// while in the didChangeDeviceMotion/Orientation method.
size_t index = m_controllers.find(controller);
- if (index == notFound)
+ if (index == kNotFound)
return;
m_controllers[index] = 0;
« no previous file with comments | « Source/core/xml/XPathParser.cpp ('k') | Source/modules/filesystem/DOMFilePath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698