Bug 1209780 (Part 1) - Mark DrawResult MOZ_MUST_USE. r=tn
authorSeth Fowler <mark.seth.fowler@gmail.com>
Sun, 25 Oct 2015 13:20:13 -0700
changeset 290903 f292de4328044cae93428f9af7281a138a0f9749
parent 290902 0ce8b97e0e6921dde82f2eb30b33ba4042e822df
child 290904 323653e6a3d9aee66a5a4bdc8c10c25f8953b523
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstn
bugs1209780
milestone48.0a1
Bug 1209780 (Part 1) - Mark DrawResult MOZ_MUST_USE. r=tn
image/DrawResult.h
--- a/image/DrawResult.h
+++ b/image/DrawResult.h
@@ -40,17 +40,17 @@ namespace image {
  * TEMPORARY_ERROR: We failed to draw due to a temporary error. Drawing may
  * succeed at a later time.
  *
  * BAD_IMAGE: We failed to draw because the image has an error. This is a
  * permanent condition.
  *
  * BAD_ARGS: We failed to draw because bad arguments were passed to draw().
  */
-enum class DrawResult : uint8_t
+enum class MOZ_MUST_USE DrawResult : uint8_t
 {
   SUCCESS,
   INCOMPLETE,
   WRONG_SIZE,
   NOT_READY,
   TEMPORARY_ERROR,
   BAD_IMAGE,
   BAD_ARGS