Bug 1209780 (Part 1) - Mark DrawResult MOZ_MUST_USE. r=tn
☠☠ backed out by a250decd09b6 ☠ ☠
authorSeth Fowler <mark.seth.fowler@gmail.com>
Sun, 25 Oct 2015 13:20:13 -0700
changeset 289710 bc854d1c6ab72ffa8ce770a2171e002dfe7231c6
parent 289709 25ce690ffebc8a1a8e2d59038ecf7259606e0348
child 289711 55ba885e2a854ee8c7404a29aa8e0c4cbab4d841
push id30108
push usercbook@mozilla.com
push dateTue, 22 Mar 2016 11:14:31 +0000
treeherdermozilla-central@ea6298e1b4f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstn
bugs1209780
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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