Bug 879717: bustage fix (unified builds) r=bustage
authorRandell Jesup <rjesup@jesup.org>
Mon, 13 Oct 2014 01:01:51 -0400
changeset 210073 ef6465b02d0d15a0f29b4f0d8823994feb6658da
parent 210072 1ae70cece64666ec6a76d0b2dd9b2b02287b54c2
child 210074 42f385becea7de066e18d6ac744153f0c198ac34
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbustage
bugs879717
milestone35.0a1
Bug 879717: bustage fix (unified builds) r=bustage
dom/camera/CameraPreviewMediaStream.cpp
--- a/dom/camera/CameraPreviewMediaStream.cpp
+++ b/dom/camera/CameraPreviewMediaStream.cpp
@@ -12,19 +12,19 @@
  * either very busy or the device is busy elsewhere (e.g. encoding or
  * persisting video data).
  */
 #define MAX_INVALIDATE_PENDING 4
 
 using namespace mozilla::layers;
 using namespace mozilla::dom;
 
-static const TrackID TRACK_VIDEO = 2;
+namespace mozilla {
 
-namespace mozilla {
+static const TrackID TRACK_VIDEO = 2;
 
 void
 FakeMediaStreamGraph::DispatchToMainThreadAfterStreamStateUpdate(already_AddRefed<nsIRunnable> aRunnable)
 {
   nsRefPtr<nsIRunnable> task = aRunnable;
   NS_DispatchToMainThread(task);
 }