Title: [266889] trunk/Source/WebDriver
Revision
266889
Author
hironori.fu...@sony.com
Date
2020-09-10 13:25:10 -0700 (Thu, 10 Sep 2020)

Log Message

Unreviewed Debug build fix for WPE and WinCairo
https://bugs.webkit.org/show_bug.cgi?id=216302
<rdar://problem/68547649>

* Session.cpp:
(WebDriver::Session::switchToFrame): Replaced 'frameIndex' with '*frameIndex' in ASSERT _expression_.

Modified Paths

Diff

Modified: trunk/Source/WebDriver/ChangeLog (266888 => 266889)


--- trunk/Source/WebDriver/ChangeLog	2020-09-10 20:08:40 UTC (rev 266888)
+++ trunk/Source/WebDriver/ChangeLog	2020-09-10 20:25:10 UTC (rev 266889)
@@ -1,3 +1,12 @@
+2020-09-10  Fujii Hironori  <hironori.fu...@sony.com>
+
+        Unreviewed Debug build fix for WPE and WinCairo
+        https://bugs.webkit.org/show_bug.cgi?id=216302
+        <rdar://problem/68547649>
+
+        * Session.cpp:
+        (WebDriver::Session::switchToFrame): Replaced 'frameIndex' with '*frameIndex' in ASSERT _expression_.
+
 2020-09-10  Devin Rousso  <drou...@apple.com>
 
         Web Inspector: modernize generated backend protocol code

Modified: trunk/Source/WebDriver/Session.cpp (266888 => 266889)


--- trunk/Source/WebDriver/Session.cpp	2020-09-10 20:08:40 UTC (rev 266888)
+++ trunk/Source/WebDriver/Session.cpp	2020-09-10 20:25:10 UTC (rev 266889)
@@ -670,7 +670,7 @@
             parameters->setString("frameHandle"_s, m_currentBrowsingContext.value());
 
         if (auto frameIndex = frameID->asInteger()) {
-            ASSERT(frameIndex >= 0 && frameIndex < std::numeric_limits<unsigned short>::max());
+            ASSERT(*frameIndex >= 0 && *frameIndex < std::numeric_limits<unsigned short>::max());
             parameters->setInteger("ordinal"_s, *frameIndex);
         } else {
             String frameElementID = extractElementID(*frameID);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to