Title: [239551] trunk/Source/WebCore
Revision
239551
Author
[email protected]
Date
2018-12-24 20:40:16 -0800 (Mon, 24 Dec 2018)

Log Message

Remove "using namespace std;"
https://bugs.webkit.org/show_bug.cgi?id=192973
<rdar://problem/46937309>

Unreviewed Windows port Debug builds fix.

No new tests since no behavior changes.

* accessibility/win/AXObjectCacheWin.cpp:
(WebCore::AXObjectCache::postPlatformNotification): Add "std::" prefix to numeric_limits in ASSERT macro.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (239550 => 239551)


--- trunk/Source/WebCore/ChangeLog	2018-12-25 02:14:37 UTC (rev 239550)
+++ trunk/Source/WebCore/ChangeLog	2018-12-25 04:40:16 UTC (rev 239551)
@@ -2,7 +2,20 @@
 
         Remove "using namespace std;"
         https://bugs.webkit.org/show_bug.cgi?id=192973
+        <rdar://problem/46937309>
 
+        Unreviewed Windows port Debug builds fix.
+
+        No new tests since no behavior changes.
+
+        * accessibility/win/AXObjectCacheWin.cpp:
+        (WebCore::AXObjectCache::postPlatformNotification): Add "std::" prefix to numeric_limits in ASSERT macro.
+
+2018-12-24  Fujii Hironori  <[email protected]>
+
+        Remove "using namespace std;"
+        https://bugs.webkit.org/show_bug.cgi?id=192973
+
         Reviewed by Alex Christensen.
 
         Removed "using namespace std" statement, and use std:: prefix.

Modified: trunk/Source/WebCore/accessibility/win/AXObjectCacheWin.cpp (239550 => 239551)


--- trunk/Source/WebCore/accessibility/win/AXObjectCacheWin.cpp	2018-12-25 02:14:37 UTC (rev 239550)
+++ trunk/Source/WebCore/accessibility/win/AXObjectCacheWin.cpp	2018-12-25 04:40:16 UTC (rev 239551)
@@ -118,7 +118,7 @@
     // element, not the index of a child element.
 
     ASSERT(obj->axObjectID() >= 1);
-    ASSERT(obj->axObjectID() <= numeric_limits<LONG>::max());
+    ASSERT(obj->axObjectID() <= std::numeric_limits<LONG>::max());
 
     NotifyWinEvent(msaaEvent, page->chrome().platformPageClient(), OBJID_CLIENT, -static_cast<LONG>(obj->axObjectID()));
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to