зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1072301 - Build the cross platform camera code in unified mode; r=mikeh
This commit is contained in:
Родитель
05e2fb4e37
Коммит
025f7a045d
|
@ -51,7 +51,7 @@ GetCameraLog()
|
|||
return sLog;
|
||||
}
|
||||
|
||||
WindowTable* nsDOMCameraManager::sActiveWindows = nullptr;
|
||||
::WindowTable* nsDOMCameraManager::sActiveWindows = nullptr;
|
||||
|
||||
nsDOMCameraManager::nsDOMCameraManager(nsPIDOMWindow* aWindow)
|
||||
: mWindowId(aWindow->WindowID())
|
||||
|
@ -109,7 +109,7 @@ nsDOMCameraManager::CreateInstance(nsPIDOMWindow* aWindow)
|
|||
{
|
||||
// Initialize the shared active window tracker
|
||||
if (!sActiveWindows) {
|
||||
sActiveWindows = new WindowTable();
|
||||
sActiveWindows = new ::WindowTable();
|
||||
}
|
||||
|
||||
nsRefPtr<nsDOMCameraManager> cameraManager =
|
||||
|
|
|
@ -13,7 +13,7 @@ EXPORTS += [
|
|||
'DOMCameraManager.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'CameraControlImpl.cpp',
|
||||
'CameraPreferences.cpp',
|
||||
'CameraPreviewMediaStream.cpp',
|
||||
|
@ -38,7 +38,7 @@ if CONFIG['MOZ_B2G_CAMERA']:
|
|||
'TestGonkCameraHardware.cpp',
|
||||
]
|
||||
else:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'FallbackCameraControl.cpp',
|
||||
'FallbackCameraManager.cpp',
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче