Skip to content

Commit

Permalink
Backed out 6 changesets (bug 914826) for bustage.
Browse files Browse the repository at this point in the history
Backed out changeset a4a029c13179 (bug 914826)
Backed out changeset d16460fc0518 (bug 914826)
Backed out changeset b28cb0ae1853 (bug 914826)
Backed out changeset 5b4ce1d4d09b (bug 914826)
Backed out changeset 58d96448609a (bug 914826)
Backed out changeset 52b319afe965 (bug 914826)
  • Loading branch information
rvandermeulen committed Sep 13, 2013
1 parent 9da0d7e commit 17009bf
Show file tree
Hide file tree
Showing 19 changed files with 10 additions and 38 deletions.
1 change: 0 additions & 1 deletion dom/base/nsContentPermissionHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "nsIPrincipal.h"
#include "mozilla/dom/Element.h"
#include "mozilla/unused.h"
#include "nsComponentManagerUtils.h"

using mozilla::unused; // <snicker>
using namespace mozilla::dom;
Expand Down
1 change: 0 additions & 1 deletion dom/base/nsDOMWindowUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
#include "nsIBaseWindow.h"
#include "nsIDocShellTreeOwner.h"
#include "nsIInterfaceRequestorUtils.h"
#include "GeckoProfiler.h"

#ifdef XP_WIN
#undef GetClassName
Expand Down
1 change: 0 additions & 1 deletion dom/bluetooth/BluetoothReplyRunnable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "BluetoothReplyRunnable.h"
#include "DOMRequest.h"
#include "mozilla/dom/bluetooth/BluetoothTypes.h"
#include "nsServiceManagerUtils.h"

USING_BLUETOOTH_NAMESPACE

Expand Down
1 change: 0 additions & 1 deletion dom/mobilemessage/src/gonk/SmsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "SmsService.h"
#include "jsapi.h"
#include "SmsSegmentInfo.h"
#include "nsServiceManagerUtils.h"

namespace mozilla {
namespace dom {
Expand Down
1 change: 0 additions & 1 deletion dom/plugins/ipc/PluginModuleParent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "nsPrintfCString.h"
#include "PluginIdentifierParent.h"
#include "prsystem.h"
#include "GeckoProfiler.h"

#ifdef XP_WIN
#include "PluginHangUIParent.h"
Expand Down
2 changes: 0 additions & 2 deletions dom/system/gonk/AudioManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#include "nsJSUtils.h"
#include "nsCxPusher.h"
#include "nsThreadUtils.h"
#include "nsServiceManagerUtils.h"
#include "nsComponentManagerUtils.h"

using namespace mozilla::dom::gonk;
using namespace android;
Expand Down
1 change: 0 additions & 1 deletion dom/telephony/ipc/TelephonyParent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "mozilla/dom/telephony/TelephonyParent.h"
#include "nsServiceManagerUtils.h"

USING_TELEPHONY_NAMESPACE

Expand Down
1 change: 0 additions & 1 deletion hal/android/AndroidHal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "mozilla/dom/network/Constants.h"
#include "mozilla/dom/ScreenOrientation.h"
#include "nsIScreenManager.h"
#include "nsServiceManagerUtils.h"

using namespace mozilla::dom;
using namespace mozilla::hal;
Expand Down
1 change: 0 additions & 1 deletion hal/cocoa/CocoaSensor.mm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "Hal.h"
#include "nsITimer.h"
#include "smslib.h"
#include "nsComponentManagerUtils.h"

#include <mach/mach.h>
#include <cmath>
Expand Down
4 changes: 2 additions & 2 deletions hal/fallback/FallbackAlarm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

#include <algorithm>

#include <nsITimer.h>

#include "mozilla/ClearOnShutdown.h"
#include "mozilla/StaticPtr.h"
#include "nsComponentManagerUtils.h"
#include "nsITimer.h"
#include "nsThreadUtils.h"

namespace mozilla {
Expand Down
1 change: 0 additions & 1 deletion hal/fallback/FallbackScreenConfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "Hal.h"
#include "mozilla/dom/ScreenOrientation.h"
#include "nsIScreenManager.h"
#include "nsServiceManagerUtils.h"

namespace mozilla {
namespace hal_impl {
Expand Down
1 change: 0 additions & 1 deletion hal/windows/WindowsBattery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "nsITimer.h"
#include "mozilla/Preferences.h"
#include "mozilla/dom/battery/Constants.h"
#include "nsComponentManagerUtils.h"

#include <windows.h>
#include "nsWindowsHelpers.h"
Expand Down
2 changes: 1 addition & 1 deletion ipc/ipdl/ipdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def normalizedFilename(f):
LastMsgIndex
};
static_assert(LastMsgIndex <= 65536, "need to update IPC_MESSAGE_MACRO");
COMPILE_ASSERT(LastMsgIndex <= 65536, need_to_update_IPC_MESSAGE_MACRO);
#endif // ifndef IPCMessageStart_h
"""
Expand Down
11 changes: 5 additions & 6 deletions ipc/ipdl/ipdl/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,17 @@
)


HeaderIncludes = (
Includes = (
'mozilla/Attributes.h',
'base/basictypes.h',
'prtime.h',
'nscore.h',
'IPCMessageStart.h',
'ipc/IPCMessageUtils.h',
'nsAutoPtr.h',
'nsStringGlue.h',
'nsTArray.h',
'mozilla/ipc/ProtocolUtils.h',
)

CppIncludes = (
'nsIFile.h',
'GeckoProfiler.h',
'mozilla/ipc/ProtocolUtils.h',
'GeckoProfiler.h'
)
12 changes: 0 additions & 12 deletions ipc/ipdl/ipdl/lower.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from copy import deepcopy

import ipdl.ast
import ipdl.builtin
from ipdl.cxx.ast import *
from ipdl.type import Actor, ActorType, ProcessGraph, TypeVisitor

Expand Down Expand Up @@ -2554,18 +2553,13 @@ def makeNamespace(p, file):
CppDirective('endif')
])

cppheaders = [CppDirective('include', '"%s"' % filename)
for filename in ipdl.builtin.CppIncludes]

cf.addthings((
[ Whitespace.NL ]
+ self.protocolCxxIncludes
+ [ Whitespace.NL ]
+ self.standardTypedefs()
+ tu.protocol.decl.cxxtypedefs
+ self.includedActorUsings
+ [ Whitespace.NL ]
+ cppheaders
+ [ Whitespace.NL ]))

cppns = makeNamespace(self.protocol, cf)
Expand Down Expand Up @@ -2619,12 +2613,6 @@ def visitProtocol(self, p):
CppDirective('include', '"'+ p.channelHeaderFile() +'"'),
Whitespace.NL ])

if ptype.isToplevel() and self.side is 'parent':
self.hdrfile.addthings([
_makeForwardDeclForQClass('nsIFile', []),
Whitespace.NL
])

self.cls = Class(
self.clsname,
inherits=[ Inherit(Type(p.fqListenerName()), viz='protected'),
Expand Down
4 changes: 2 additions & 2 deletions ipc/ipdl/ipdl/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def makeBuiltinUsing(tname):
QualifiedId(_builtinloc, base, quals)))

builtinUsing = [ makeBuiltinUsing(t) for t in builtin.Types ]
builtinHeaderIncludes = [ CxxInclude(_builtinloc, f) for f in builtin.HeaderIncludes ]
builtinIncludes = [ CxxInclude(_builtinloc, f) for f in builtin.Includes ]

def errormsg(loc, fmt, *args):
while not isinstance(loc, Loc):
Expand Down Expand Up @@ -589,7 +589,7 @@ def runpass(tcheckpass):
return False
return True

tu.cxxIncludes = builtinHeaderIncludes + tu.cxxIncludes
tu.cxxIncludes = builtinIncludes + tu.cxxIncludes

# tag each relevant node with "decl" information, giving type, name,
# and location of declaration
Expand Down
1 change: 0 additions & 1 deletion layout/generic/nsSubDocumentFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include "nsObjectFrame.h"
#include "nsContentUtils.h"
#include "nsIPermissionManager.h"
#include "nsServiceManagerUtils.h"

using namespace mozilla;
using mozilla::layout::RenderFrameParent;
Expand Down
1 change: 0 additions & 1 deletion widget/gonk/OrientationObserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "OrientationObserver.h"
#include "mozilla/HalSensor.h"
#include "ProcessOrientation.h"
#include "nsServiceManagerUtils.h"

using namespace mozilla;
using namespace dom;
Expand Down
1 change: 0 additions & 1 deletion widget/gonk/OrientationObserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "mozilla/Observer.h"
#include "mozilla/dom/ScreenOrientation.h"
#include "mozilla/Scoped.h"

namespace mozilla {
class ProcessOrientation;
Expand Down

0 comments on commit 17009bf

Please sign in to comment.