Skip to content

Commit

Permalink
Merge inbound to mozilla-central. a=merge
Browse files Browse the repository at this point in the history
  • Loading branch information
SV-ACiure committed Aug 6, 2018
2 parents de6c35a + aeaf76c commit 9f8ebbd
Show file tree
Hide file tree
Showing 174 changed files with 746 additions and 208 deletions.
3 changes: 2 additions & 1 deletion accessible/aom/AccessibleNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ AccessibleNode::IsAOMEnabled(JSContext* aCx, JSObject* /*unused*/)
return nsContentUtils::IsSystemCaller(aCx) || sPrefCacheValue;
}

NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(AccessibleNode, mIntl, mDOMNode, mStates)
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(AccessibleNode, mRelationProperties,
mIntl, mDOMNode, mStates)

NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(AccessibleNode)
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
Expand Down
9 changes: 3 additions & 6 deletions accessible/aom/AccessibleNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define A11Y_AOM_ACCESSIBLENODE_H

#include "nsDataHashtable.h"
#include "nsRefPtrHashtable.h"
#include "nsWrapperCache.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/dom/BindingDeclarations.h"
Expand Down Expand Up @@ -238,11 +239,7 @@ class AccessibleNode : public nsISupports,

already_AddRefed<AccessibleNode> GetProperty(AOMRelationProperty aProperty)
{
RefPtr<AccessibleNode> data;
if (mRelationProperties.Get(static_cast<int>(aProperty), &data)) {
return data.forget();
}
return nullptr;
return mRelationProperties.Get(static_cast<int>(aProperty));
}

void SetProperty(AOMRelationProperty aProperty,
Expand All @@ -258,7 +255,7 @@ class AccessibleNode : public nsISupports,
// The 2k'th bit indicates whether the k'th boolean property is used(1) or not(0)
// and 2k+1'th bit contains the property's value(1:true, 0:false)
uint32_t mBooleanProperties;
nsDataHashtable<nsUint32HashKey, RefPtr<AccessibleNode> > mRelationProperties;
nsRefPtrHashtable<nsUint32HashKey, AccessibleNode> mRelationProperties;
nsDataHashtable<nsUint32HashKey, nsString> mStringProperties;

RefPtr<a11y::Accessible> mIntl;
Expand Down
3 changes: 3 additions & 0 deletions accessible/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,6 @@ include('/ipc/chromium/chromium-config.mozbuild')

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CXXFLAGS += ['-Wno-error=shadow']

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/generic/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ include('/ipc/chromium/chromium-config.mozbuild')

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CXXFLAGS += ['-Wno-error=shadow']

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/interfaces/ia2/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ if CONFIG['CC_TYPE'] == 'clang-cl':
'-Wno-missing-braces',
'-Wno-unused-const-variable',
]

if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/interfaces/msaa/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ if CONFIG['CC_TYPE'] == 'clang-cl':
'-Wno-missing-braces',
'-Wno-unused-const-variable',
]

if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/ipc/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ FINAL_LIBRARY = 'xul'

# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
2 changes: 2 additions & 0 deletions accessible/ipc/win/handler/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,5 @@ LIBRARY_DEFINES['_UNICODE'] = True
LIBRARY_DEFINES['MOZ_NO_MOZALLOC'] = True
DisableStlWrapping()

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/ipc/win/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ if CONFIG['ACCESSIBILITY']:
include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/windows/msaa/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ if CONFIG['CC_TYPE'] == 'clang-cl':
include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/windows/sdn/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ LOCAL_INCLUDES += [
include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions accessible/xpcom/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ include('/ipc/chromium/chromium-config.mozbuild')

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CXXFLAGS += ['-Wno-error=shadow']

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions browser/app/winlauncher/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ TEST_DIRS += [
]

DisableStlWrapping()

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
3 changes: 3 additions & 0 deletions browser/app/winlauncher/test/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ LOCAL_INCLUDES += [
OS_LIBS += [
'ntdll',
]

if CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497
4 changes: 2 additions & 2 deletions browser/extensions/pdfjs/README.mozilla
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is the PDF.js project output, https://github.com/mozilla/pdf.js

Current extension version is: 2.0.719
Current extension version is: 2.0.750

Taken from upstream commit: 35214245
Taken from upstream commit: c8ee6331
10 changes: 5 additions & 5 deletions browser/extensions/pdfjs/content/build/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ return /******/ (function(modules) { // webpackBootstrap
"use strict";


var pdfjsVersion = '2.0.719';
var pdfjsBuild = '35214245';
var pdfjsVersion = '2.0.750';
var pdfjsBuild = 'c8ee6331';
var pdfjsSharedUtil = __w_pdfjs_require__(1);
var pdfjsDisplayAPI = __w_pdfjs_require__(7);
var pdfjsDisplayTextLayer = __w_pdfjs_require__(19);
Expand Down Expand Up @@ -4223,7 +4223,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId,
apiVersion: '2.0.719',
apiVersion: '2.0.750',
source: {
data: source.data,
url: source.url,
Expand Down Expand Up @@ -5563,8 +5563,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.719';
exports.build = build = '35214245';
exports.version = version = '2.0.750';
exports.build = build = 'c8ee6331';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
Expand Down
Loading

0 comments on commit 9f8ebbd

Please sign in to comment.