Bug 845713: Remove two unnecessary RangedPtr.h #includes in js (shifting one to the .cpp file). r=Waldo
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 06 May 2013 17:37:59 -0700
changeset 142027 47ad8bdaae948b2b676590aa01a76f1e55680fb4
parent 142026 5284d236b5256d497b0cffa9b9f2db586b8be99a
child 142028 43cccb89e04a2a4232e12a690ff74d49c6b8da19
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs845713
milestone23.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 845713: Remove two unnecessary RangedPtr.h #includes in js (shifting one to the .cpp file). r=Waldo
js/src/jsfun.cpp
js/src/jsonparser.cpp
js/src/jsonparser.h
--- a/js/src/jsfun.cpp
+++ b/js/src/jsfun.cpp
@@ -7,17 +7,16 @@
 /*
  * JS function support.
  */
 #include "jsfun.h"
 
 #include <string.h>
 
 #include "mozilla/PodOperations.h"
-#include "mozilla/RangedPtr.h"
 #include "mozilla/Util.h"
 
 #include "jstypes.h"
 #include "jsapi.h"
 #include "jsarray.h"
 #include "jsatom.h"
 #include "jscntxt.h"
 #include "jsinterp.h"
--- a/js/src/jsonparser.cpp
+++ b/js/src/jsonparser.cpp
@@ -1,16 +1,18 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  * vim: set ts=8 sts=4 et sw=4 tw=99:
  * 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/. */
 
 #include "jsonparser.h"
 
+#include "mozilla/RangedPtr.h"
+
 #include "jsarray.h"
 #include "jsnum.h"
 
 #include "vm/StringBuffer.h"
 
 #include "jsobjinlines.h"
 
 using namespace js;
--- a/js/src/jsonparser.h
+++ b/js/src/jsonparser.h
@@ -3,17 +3,16 @@
  * 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 jsonparser_h___
 #define jsonparser_h___
 
 #include "mozilla/Attributes.h"
-#include "mozilla/RangedPtr.h"
 
 #include "jscntxt.h"
 #include "jsstr.h"
 
 namespace js {
 
 /*
  * NB: This class must only be used on the stack.