Title: [206003] trunk/Source/WebKit2
Revision
206003
Author
[email protected]
Date
2016-09-15 16:38:43 -0700 (Thu, 15 Sep 2016)

Log Message

Actually assign the decoded enum value to the output value
https://bugs.webkit.org/show_bug.cgi?id=162042

Reviewed by Brady Eidson.

* Platform/IPC/Decoder.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (206002 => 206003)


--- trunk/Source/WebKit2/ChangeLog	2016-09-15 23:34:31 UTC (rev 206002)
+++ trunk/Source/WebKit2/ChangeLog	2016-09-15 23:38:43 UTC (rev 206003)
@@ -1,5 +1,14 @@
 2016-09-15  Anders Carlsson  <[email protected]>
 
+        Actually assign the decoded enum value to the output value
+        https://bugs.webkit.org/show_bug.cgi?id=162042
+
+        Reviewed by Brady Eidson.
+
+        * Platform/IPC/Decoder.h:
+
+2016-09-15  Anders Carlsson  <[email protected]>
+
         Add support for enum class parameters in the message generator
         https://bugs.webkit.org/show_bug.cgi?id=162036
 

Modified: trunk/Source/WebKit2/Platform/IPC/Decoder.h (206002 => 206003)


--- trunk/Source/WebKit2/Platform/IPC/Decoder.h	2016-09-15 23:34:31 UTC (rev 206002)
+++ trunk/Source/WebKit2/Platform/IPC/Decoder.h	2016-09-15 23:38:43 UTC (rev 206003)
@@ -93,6 +93,7 @@
         if (!isValidEnum<E>(value))
             return false;
 
+        e = static_cast<E>(value);
         return true;
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to