[EFL] Fix compilation error in GamepadsEfl.cpp in debug mode
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 10:44:05 +0000 (10:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 10:44:05 +0000 (10:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90369

Unreviewed, EFL build fix.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-02

* platform/efl/GamepadsEfl.cpp:
(WebCore::GamepadsEfl::registerDevice):
(WebCore::GamepadsEfl::unregisterDevice):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121668 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/efl/GamepadsEfl.cpp

index 0f0360c..521ddb7 100644 (file)
@@ -1,3 +1,14 @@
+2012-07-02  Christophe Dumez  <christophe.dumez@intel.com>
+
+        [EFL] Fix compilation error in GamepadsEfl.cpp in debug mode
+        https://bugs.webkit.org/show_bug.cgi?id=90369
+
+        Unreviewed, EFL build fix.
+
+        * platform/efl/GamepadsEfl.cpp:
+        (WebCore::GamepadsEfl::registerDevice):
+        (WebCore::GamepadsEfl::unregisterDevice):
+
 2012-07-02  Nikita Vasilyev  <me@elv1s.ru>
 
         Web Inspector: Design WebSockets panel
index be9308b..530496c 100644 (file)
@@ -179,8 +179,6 @@ void GamepadsEfl::registerDevice(const String& syspath)
     if (!deviceFile || !eina_str_has_prefix(deviceFile, joystickPrefix))
         return;
 
-    LOG(Gamepad, "Registering gamepad at %s, deviceFile: %s", syspath.utf8().data(), deviceFile);
-
     const size_t slotCount = m_slots.size();
     for (size_t index = 0; index < slotCount; ++index) {
         if (!m_slots[index]) {
@@ -196,8 +194,6 @@ void GamepadsEfl::unregisterDevice(const String& syspath)
     if (!m_deviceMap.contains(syspath))
         return;
 
-    LOG(Gamepad, "Registering gamepad at %s,", syspath.utf8().data());
-
     GamepadDeviceEfl* gamepadDevice = m_deviceMap.take(syspath);
     const size_t index = m_slots.find(gamepadDevice);
     ASSERT(index != notFound);