(No bug) - Fix a trivial formatting issue in ImageMetadata.h. r=me
authorSeth Fowler <mark.seth.fowler@gmail.com>
Thu, 21 Jul 2016 16:42:29 -0700
changeset 306218 607f7217e5ec8f910382992f752a03b5a67de36e
parent 306217 1da606ef3da99b620f05dbae76570646f69af5b2
child 306219 5daa5c05033142561e0377f4b16b212fbbe8f811
push id30480
push usercbook@mozilla.com
push dateFri, 22 Jul 2016 09:58:20 +0000
treeherdermozilla-central@e0bc88708ffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone50.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
(No bug) - Fix a trivial formatting issue in ImageMetadata.h. r=me
image/ImageMetadata.h
--- a/image/ImageMetadata.h
+++ b/image/ImageMetadata.h
@@ -57,18 +57,19 @@ public:
   void SetSize(int32_t width, int32_t height, Orientation orientation)
   {
     if (!HasSize()) {
       mSize.emplace(nsIntSize(width, height));
       mOrientation.emplace(orientation);
     }
   }
   nsIntSize GetSize() const { return *mSize; }
+  bool HasSize() const { return mSize.isSome(); }
+
   Orientation GetOrientation() const { return *mOrientation; }
-  bool HasSize() const { return mSize.isSome(); }
   bool HasOrientation() const { return mOrientation.isSome(); }
 
   void SetHasAnimation() { mHasAnimation = true; }
   bool HasAnimation() const { return mHasAnimation; }
 
 private:
   /// The hotspot found on cursors, if present.
   Maybe<gfx::IntPoint> mHotspot;