Bug 1134671: Add 'override' keyword to method Context::Data::GetConnection() (in DOM Cache code). rs=ehsan
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 07 May 2015 09:56:40 -0700
changeset 274211 48a6531ce81b95ec1969764d53204609add5a788
parent 274210 fa9d94918e1211f9350272a995003eb58b23ad29
child 274212 f8859779e97c3bb3db01fbd111199581f49f49d5
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1134671
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 1134671: Add 'override' keyword to method Context::Data::GetConnection() (in DOM Cache code). rs=ehsan
dom/cache/Context.cpp
--- a/dom/cache/Context.cpp
+++ b/dom/cache/Context.cpp
@@ -89,17 +89,17 @@ class Context::Data final : public Actio
 public:
   explicit Data(nsIThread* aTarget)
     : mTarget(aTarget)
   {
     MOZ_ASSERT(mTarget);
   }
 
   virtual mozIStorageConnection*
-  GetConnection() const
+  GetConnection() const override
   {
     MOZ_ASSERT(mTarget == NS_GetCurrentThread());
     return mConnection;
   }
 
   virtual void
   SetConnection(mozIStorageConnection* aConn) override
   {