Bug 1155766 - Fix a bad assertion r=bent
☠☠ backed out by a100719c0032 ☠ ☠
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 20 Apr 2015 11:43:21 -0700
changeset 240150 0352b6fb976fa24fc4a0267f882621a6729166d2
parent 240149 2652222b92d536e92b02fab6d0648ab33d9751fb
child 240151 6a29dd1152df0118eed9caadd56ddd8ed743bb0e
push id58752
push usercbook@mozilla.com
push dateTue, 21 Apr 2015 10:39:00 +0000
treeherdermozilla-inbound@b8d59286a581 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent
bugs1155766
milestone40.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 1155766 - Fix a bad assertion r=bent
dom/quota/QuotaManager.cpp
--- a/dom/quota/QuotaManager.cpp
+++ b/dom/quota/QuotaManager.cpp
@@ -4997,15 +4997,15 @@ OriginParser::HandleToken(const nsDepend
     default:
       MOZ_CRASH("Should never get here!");
   }
 }
 
 void
 OriginParser::HandleTrailingSeparator()
 {
-  MOZ_ASSERT(mState = eComplete);
+  MOZ_ASSERT(mState == eComplete);
   MOZ_ASSERT(mSchemaType == eFile);
 
   mPathnameComponents.AppendElement(EmptyCString());
 
   mState = eHandledTrailingSeparator;
 }