Bug 1321642 - Add missing include guards to nsDeviceContextAndroid.h r=jchen
authorRandall Barker <rbarker@mozilla.com>
Wed, 30 Nov 2016 14:56:00 -0800
changeset 325159 b7738f546106aa38f9a7f1927c9211a77137979a
parent 325158 331ca1a40ca24f3f8dfeece611f05754e2735a5e
child 325160 ccc5ede0fd337923f51a7ebe2bb1f6504d53fe61
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersjchen
bugs1321642
milestone53.0a1
Bug 1321642 - Add missing include guards to nsDeviceContextAndroid.h r=jchen
widget/android/nsDeviceContextAndroid.h
--- a/widget/android/nsDeviceContextAndroid.h
+++ b/widget/android/nsDeviceContextAndroid.h
@@ -1,12 +1,15 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifndef nsDeviceContextAndroid_h__
+#define nsDeviceContextAndroid_h__
+
 #include "nsIDeviceContextSpec.h"
 #include "nsCOMPtr.h"
 
 class nsDeviceContextSpecAndroid final : public nsIDeviceContextSpec
 {
 private:
     ~nsDeviceContextSpecAndroid() {}
 
@@ -25,8 +28,9 @@ public:
     NS_IMETHOD EndDocument() override;
     NS_IMETHOD BeginPage() override { return NS_OK; }
     NS_IMETHOD EndPage() override { return NS_OK; }
 
 private:
     nsCOMPtr<nsIPrintSettings> mPrintSettings;
     nsCOMPtr<nsIFile> mTempFile;
 };
+#endif // nsDeviceContextAndroid_h__