Skip to content

Commit

Permalink
Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: B0JDqyBanFE
  • Loading branch information
vyv03354 committed Mar 1, 2018
1 parent e5b15c6 commit c8f0dc5
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion gfx/webrender_bindings/Moz2DImageRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "WebRenderTypes.h"
#include "webrender_ffi.h"

#include <iostream>
#include <unordered_map>

#ifdef XP_MACOSX
Expand Down
5 changes: 2 additions & 3 deletions layout/base/nsLayoutDebugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "FrameLayerBuilder.h"
#include "nsPrintfCString.h"

#include <iostream>
#include <stdio.h>

using namespace mozilla;
Expand Down Expand Up @@ -267,15 +266,15 @@ PrintDisplayItemToStdout(nsDisplayListBuilder* aBuilder, nsDisplayItem* aItem)
{
std::stringstream stream;
PrintDisplayItemTo(aBuilder, aItem, stream, 0, true, false);
std::cout << stream.str() << std::endl;
puts(stream.str().c_str());
}

void
PrintDisplayListToStdout(nsDisplayListBuilder* aBuilder, const nsDisplayList& aList)
{
std::stringstream stream;
PrintDisplayListTo(aBuilder, aList, stream, 0, false);
std::cout << stream.str() << std::endl;
puts(stream.str().c_str());
}

#ifdef MOZ_DUMP_PAINTING
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include "WebrtcGmpVideoCodec.h"

#include <iostream>
#include <vector>

#include "mozilla/CheckedInt.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#ifndef WEBRTCGMPVIDEOCODEC_H_
#define WEBRTCGMPVIDEOCODEC_H_

#include <iostream>
#include <queue>
#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

#include <cstdio>
#include <iostream>
#include <queue>

#include "CSFLog.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define security_sandbox_loggingCallbacks_h__

#include <sstream>
#include <iostream>

#include "mozilla/Logging.h"
#include "mozilla/Preferences.h"
Expand Down

0 comments on commit c8f0dc5

Please sign in to comment.